Summary - GigaSpaces components from a functional perspective.

Basic Components Data Grid Topologies Space-Based Architecture Runtime Components

Data Grid

In Memory Data Grid (IMDG) or Enterprise Data Grid (EDG)

A set of space instances, typically running within their respective processing unit instances.
The space instances are connected to each other to form a space cluster.
The relations between the spaces define the Data Grid Topology.

Key Sentence: A set of connected space instances holding objects form a space cluster

A Data Grid with 3 Instances

Data Grid Topologies

Primary Backup Data Grid

A Data Grid with a primary instance and one or more backup instances.
Operations that do not modify any data (e.g. read, count) are performed only on the primary instance. Operations that modify data, sometimes called destructive operations (e.g. write, take) are performed on the primary instance and are are replicated to the backup instance either synchronously or asynchronously.

Key Sentence: Objects in primary instance are replicated to its backup instance/s

A Data Grid comprised of a primary instance with one backup instance

Partitioned Data Grid

When the Data Grid needs to hold large amounts of data, it is possible to partition the data across multiple instances.
Each Data Grid instance (partition) holds a different subset of the objects in the Data Grid.
When the objects are written to this Data Grid, they are routed to the proper partition, according to a predefined property in the object that acts as the routing index.

A Partitioned Data Grid with 3 Instances, each holding a different set objects

Routing

The mechanism that is in charge of routing the objects into and out of the corresponding partitions.
The routing is based on a designated property/field inside the objects that are written to the space, and is termed Routing Index or Routing Property.

Key sentence: Routing the mechanism that determines how object will be partitioned.

Routing in a partitioned Data Grid with 3 instances

Primary Backup Partitioned Data Grid

A partitioned Data Grid, with one or more backup instances for each partition. Each of the Data Grid instances (partitions) holds a different subset of the objects in the Data Grid, and replicates this subset to its backup instance/s.

A Primary Backup Partitioned Data Grid: 2 partitions, each replicates to one backup instance



Basic Components Data Grid Topologies Space-Based Architecture Runtime Components
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence