What's New in GigaSpaces Version 16.4

Release Date: October-2023

This page describes product changes, along with new features and functionality for GigaSpaces release 16.4.

 

Security

Data Integration (DI) Updates

  1. Express Upload. For Smart DIH as-a-Service customers only.  For additional details, please contact our Customer Support team.

  2. Stream SQL

    GigaSpaces has added the ability to bring data not only from relational database but rather from KafkaClosed Apache Kafka is a distributed event store and stream-processing platform. Apache Kafka is a distributed publish-subscribe messaging system. A message is any kind of information that is sent from a producer (application that sends the messages) to a consumer (application that receives the messages). Producers write their messages or data to Kafka topics. These topics are divided into partitions that function like logs. Each message is written to a partition and has a unique offset, or identifier. Consumers can specify a particular offset point where they can begin to read messages. directly using StreamSQL. For information about using Stream SQL in SpaceDeck refer to the StreamSQL Overview and StreamSQL Implementation pages..

  3. There is now no need to manually configure IIDRClosed IBM Infosphere Data Replication. This is a solution to efficiently capture and replicate data, and changes made to the data in real-time from various data sources, including mainframes, and streams them to target systems. For example, used to move data from databases to the In-Memory Data Grid. It is used for Continuous Data Capture (CDC) to keep data synchronized across environments. subscription via the DIClosed The Data Integration (DI) layer is a vital part of the Digital Integration Hub (DIH) platform. It is responsible for a wide range of data integration tasks such as ingesting data in batches or streaming data changes. This is performed in real-time from various sources and systems of record (SOR. The data then resides in the In-Memory Data Grid (IMDG), or Space, of the GigaSpaces Smart DIH platform. Subscription Manager as this is now performed automatically. For more information refer to Pipeline Setup Via SpaceDeck.

Services

Through our SpaceDeck UI, low code development of data micro-services provide our clients with the ability to deploy and execute data services efficiently.  

For additional details about Service Creator refer to Deploying Services

SQL Pagination Support

In some cases, services can return multiple rows from a Space. In order to avoid all the data being displayed on one long page, which is not practical we have introduced pagination which allows the data to be divided into smaller, more manageable pages.

Service Auto Discovery

Discovery of Endpoints for Viewing Documentation:

  • Swagger UI for is now available for each service.

  • API docs in Open API format is now available for each service.

Security Roles and Permissions

  • A regular user without permissions can only create or delete a service as this function is currently created and stored on the UI server side only.

  • In order to deploy or undeploy a service, the user will require Manage Service permission, as these operations make backend calls. Refer to the SpaceDeck Services page for more details.

  • Refer to Security Overview for more details.

SpaceDeck Enhancements for Services

  • Service Monitoring - For each deployed service, there is monitoring supplied through SpaceDeck.

  • Download Service Logs - Service logs can now be downloaded from SpaceDeck.

  • Update Log Level - The ability to update the log level through Postman or CURL.

  • Only relevant actions are presented for any given state. For example, there is no delete option displayed for a deployed service.

Integrations

GigaSpaces have a supported reference integration with AWS API Gateway to register a query service. Additional reference integrations will be added in the future.

SpaceDeck Enhancements

Hosts Menu

Through SpaceDeck you can now view information about specific hosts. In addition, single or multiple logs can be generated. Hosts can be used to monitor the health of all your hosts to ensure that if limits are being reached, there is an opportunity to reorganize data or increase the amount of RAM or nodes.

SpaceDeck for XAP

SpaceDeck is now available for the first time for XAP installations that use Kubernetes orchestration. In the future there will be more features added. For a reminder of which UIs are used for which operations refer to our Platform Feature Access page.

The features currently available are:

Redo Log Update

Redo capabilities now include the ability to flush the redo log to disk upon shutdown.

Disclaimers

  • Self-signed certificate has been removed in favor of the BouncyCastle package (org.bouncycastle v1.50) which is now bundled with the product.  Due to the missing "sun.security.provider.Sun" in the newer JDK versions, users of IBM JDK are required to have this package in the classpath. For more information, refer to Securing the Transport Layer.

  • ASM (Java bytecode manipulation framework): Until version 16.3.0, GigaSpacesbundles ASM v3.3.1.

    Starting with ASM v4.0, there was a breaking change made to their API, specifically converting interfaces to classes, e.g., ClassVisitor and Method Visitor.

    In GigaSpaces16.4, the bundle was updated to include ASM v9.5, mainly to support future upgrades to Java 11. For more information refer to Third-Party License Agreements

Release Date: February-2025

This page describes product changes, along with new features and functionality for GigaSpaces release 16.4.

Aggregator and Tier Improvements

Aggregator Memory Consumption Improvements

Prior to this version, aggregation kept UIDs of all scanned objects during an operation, in case the same object ID is deleted and recreated. When the relevant table is very large, such as in tiered storageClosed Automatically assigns data to different categories of storage types based on considerations of cost, performance, availability, and recovery., this could lead to high memory consumption. To solve this, parameters were added to control UID storage for tiered storage and in-memory spaces. For more information, see Aggregators.

Aggregator Local Space Injection

Aggregation usually iterates over a group of entries and aggregates values from related entries. There are some cases in which there is a need to access another object in the local Space. Local Space injection was added for this purpose. For more information, see Aggregators.

Aggregator Index Usage

In some scenarios, using indexes for aggregations can avoid a full table scan and reduce execution time significantly. However, relying on the index can be risky in cases with a high load of transactions. Therefore, changes were made to optimize index usage for different cases: For more information, see Aggregators.

New Custom Aggregator Methods

The following custom Aggregator methods were added:

  • isIndexUsed() - check if aggregation index optimization can be used.

  • skipProcessedUidStore() - when iterating one by one, determine whether or not to store UIDs in order to avoid duplication.

  • handleIntermediateResultOfMemoryStorage() - determine how to handle partition results for memory space if one by one aggregation is skipped.

  • handleIntermediateResultOfDbStorage() - determine how to handle partition results for tiered space if one by one aggregation is skipped.

  • getSQLQuery() - set the query to be used for tiered storage if one by one aggregation is skipped.

For more information, see Custom Aggregators.

Counters for Count Aggregation and API

Counters can be used when asking for a table count (count(*)) with no conditions, or Ignoring transactions or there are no active transactions & lease expirations. For more information, see Aggregators.

Push Down Aggregation to Tiered Storage (SQLite)

When tiered storage is used and the query should be performed in the underlying database, queries can now be pushed down. For more information, see Aggregators.

Tiered Storage Initial Load

In order to improve recovery time from tiered storage space, counters initialization was moved to async mode, allowing the space to be ready before filling up statistics.

Read-only Quiesce Mode

This applies for XAP and XAP Skyline

Read-only quiesce mode

This is a maintenance mode that differs from the regular quiesce mode by allowing read-only operations so the space is available to read but not for write/update/take operations. For more information, see Quiesce Mode.

Durable Tasks

This applies for XAP and XAP Skyline

Durable Tasks

A Durable Task is a Task that can be canceled and recovered. It extends distributed tasks.

Use cases :

  • A task that does a job that takes long time and needs the ability to be cancelled.

  • Business logic - adds the ability to change the business logic of the space without redeploying the space.

Durable Tasks can be created using the Durable Task API. For more information, see Task Execution.

Query Protective Mode

Query Protection Mode

The new query protection mode provides protection against executing queries that perform a full scan if the table size is above a limit. By default, protective mode is disabled. If enabled, an exception will be thrown when a query as” select * from the table” is performed and the table size is larger than the specified limit.

If protective mode is disabled, a warning message will be logged if a query meets the protective mode conditions. It is recommended to enable this property in QA and stage environments.

For more information, see Space Index.

JDBC V3 Improvements

This applies for XAP, XAP Skyline and Smart DIH

The following improvements to JDBCClosed Java DataBase Connectivity. This is an application programming interface (API) for the Java programming language, which defines how a client may access a database. V3 have been made:

Secured ZooKeeper

You can now set up secured ZooKeeper. For more information, see GigaSpaces Manager.

New Service Level Script

A new service-overrides script was added to allow changes per service without restarting the GSAClosed Grid Service Agent. This is a process manager that can spawn and manage Service Grid processes (Operating System level processes) such as The Grid Service Manager, The Grid Service Container, and The Lookup Service. Typically, the GSA is started with the hosting machine's startup. Using the agent, you can bootstrap the entire cluster very easily, and start and stop additional GSCs, GSMs and lookup services at will.. For more information, see Scripts.

Embedded Replication Mode Change Listener

Relevant for primary backup replication, to identify situations when replication moves to async mode. For more information, see Replication.

LDAP Changes

This applies for XAP

Due to changes in Spring LDAPClosed Lightweight Directory Access Protocol. An open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network., the class attribute in LDACP configuration must be updated to com.gigaspaces.security.ldap.XAPLdapAuthoritiesPopulator.

For example:

<bean id=“populator” class=“com.gigaspaces.security.ldap.XAPLdapAuthoritiesPopulator”>
	<constructor-arg ref=“contextSource” />
	<!--  group based DN - we will be searching for groups in “ou=groups,dc=example,dc=com” -->
	<constructor-arg value=“ou=groups” />
	<!-- the name of the attribute that will contain role information (which effectively translates to a user’s granted authorities. Default is “cn” -->
	<property name=“groupRoleAttribute” value=“ou” />
	…
</bean>

XAP.NET Improvements

This applies for XAP

The following XAP.NET improvements have been made:

  • Support for Broadcast tables

  • Ability to get replication statistics from an embedded space

Kubernetes Improvements

The following KubernetesClosed An open-source container orchestration system for automating software deployment, scaling, and management of containerized applications. improvements have been made:

  • Readiness probe for xap manager to allow safe rolling upgrade of managers.

  • Parallel mode deployment of space with multi partitions when HA is false to allow faster deployment and faster rolling upgrade

  • Added jvm utilities as jmap to the image.

  • Utility to backup and restore tiered storage space data.

  • Added OOB alert system with installation of Kapacitor and config map for default alert settings.

  • Auto scaler operator that can add/remove more clusters (including copy data from original cluster if needed), according to defined rules.

Data Integration (DI) Updates

This applies for Smart DIH

DIHCTL Command Line Application

DIHCTL Application

The new DIHCTL command line application is intended to perform different actions on the working Smart DIH installation (environment). It can be run manually, or as part of a CI/CD pipeline. For more information, see DIHCTL.

Import & Export Capabilities

Import and Export

You now have the ability to:

  • Import/export pipeline definitions

  • Import/export service configurations

  • Import/export GraphQL relationship definitions

These actions can be performed through SpaceDeck or using the DIHCTL application. Fore more information, see SpaceDeck and DIHCTL.

GraphQL and SpaceQL

GraphQL

Smart DIH now includes embedded GraphQL API Gateway functionality. The GraphQL API Gateway service allows to query XAP spaces using GraphQL syntax.

The service detects all Spaces and corresponding types that exist in each Space. It then auto-generates GraphQL functions that can be used to easily query the Space and retrieve faster results in comparison to using the equivalent SQL queries.

You can query the GraphQL service through SpaceQL, or using the DIHCTL application.

For more information, see GraphQL and SpaceQL.

Kafka as a Data Source

You can now add Confluent Kafka as a data source. For more information, see Kafka as a Data Source.

Grafana Alerts

You can now enable GrafanaClosed Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources. alerts. See Using Grafana for Monitoring and Analytics.

Manage User Access Tokens using SpaceDeck

You can now manage user access token using SpaceDeck. For more information, see SpaceDeck – Administration.