Space Replication

To provide fault-tolerance and prevent loss of cached data in any of the space (if one of the seeders of a space suddenly disappears from the Metaspace), specify a degree of replication for a space.

Replication in ActiveSpaces is performed in a distributed active-active manner. Seeders seed and replicate some data assigned to other seeders. The replication itself is distributed, rather than keeping a designated backup for each seeder. This backup replicates all of the data that the seeder seeds, and the data that it seeds are replicated by all of the other seeders.

The <ReplicationCount> attribute is available for each space in the CacheConfig.xml file.

The loss of data for the following caches results in application failure and reduced performance. Therefore, replicate these caches:

  • COUNTERS
  • ACTIVITYRECORDCOUNTER
  • FAILOVERMARKER
  • FILELOCK
  • SPACE_LOCKS
  • MDMLOCKSPACE