Summary: External Data Source (EDS) is a space component that provides advanced persistency capabilities for the space architecture.

Overview

External Data Source (EDS) is a space component that provides advanced persistency capabilities for the space architecture.

GigaSpaces External Data Source provides the DataProvider/DataPersister interfaces (with a built in implementation using Hibernate) which can be used to store data in an existing data source and in the space. Data is loaded from the data source during space initialization (DataProvider), and from then onwards the application works with the space directly. Meanwhile, the data source is constantly updated with all the changes made in the space (DataPersister).

Persistency can be configured to run in Synchronous or Asynchronous mode:

The difference between the Synchronous or Asynchronous persistency mode concerns how data is persisted back to the database. The Synchronous mode data is persisted immediately once the operation is conducted where the client application wait for the External Data source to confirm the write. With the Asynchronous mode (mirror Service), data is persisted in a reliable asynchronous manner using the mirror Service as a write behind activity. This mode provides maximum performance.

External Data Source Interfaces

External Data Source interfaces are a set of interfaces that define the interaction between the space and the data source. For detailed information, see External Data Source API.

GigaSpaces comes with a built in implementation of DataProvider and DataPersister called Hibernate External Data Source. The code below shows how it can be configured with a simple Space connecting to a central data source.

See External Data Source Initial Load to allow the space to pre-load its data.

Advanced Information & Operations

For more advanced information and operations, see External Data Source Advanced Topics.

GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence