GridGain Developers Hub

About Data Center Replication

With GridGain you can replicate tables between multiple data centers and quickly recover when a data center goes offline.

Data replication affects tables. It does not copy cluster configurations, so you need to configure replica clusters manually. This method allows for various combinations of replica cluster configurations. For example, one cluster can replicate updates to multiple clusters, and multiple clusters can replicate data to each other.

When working with multiple data centers, it is important to make sure that if one data center goes down, another data center is fully capable of picking its load and data.

When data center replication is turned on, GridGain will automatically make sure that each cluster is consistently synchronizing its data to other data centers (there can be one or more). As this is a continuous process, you need to ensure that there are no interruptions, and both sides of the exchange have enough throughput to not fall behind.

Data Replication Modes

GridGain supports active-passive and active-active modes for replication.

In the active-passive mode, only one cluster (source cluster) writes data, and the other cluster (replica cluster) stores data, but does not write it. Source cluster regularly sends updates to the replica cluster, keeping the data on it up to date.

In the active-active mode, both clusters write data, and exchange information with each other as data is written.