Active -Passive Geo Distribution
Active-Passive Geo-Distribution with “Replica – of”
With Redis Enterprise you can create active-passive geo-distributed deployments using the “Replica – of” capability. This unidirectional replication capability allows you to synchronize data between source and destination databases, placing the data physically closer to the user for low latency read access. All writes to the source database are replicated to destination databases. However, writes to the destination databases are not replicated back to source databases.
“Replica- of” provides great flexibility for creating complex geo-distribution topologies.
- Each source database can replicate to many destination databases.
- Each destination database can replicate from many source databases.
- >Each destination database can also be a source database (cascading replication).
- Each database source or destination, participating in the Replica-of setup can independently choose database settings including shard count, local replication and persistence settings. The replication itself is done at the database endpoint level while behind the scenes Redis Enterprise handles the population of the shards across replicas.
- Each cluster-hosting databases participating in the Replica-of setup can have a different number of nodes.
- The data transfer between the source and the destination replicas is automatically compressed and can be encrypted on demand.
It is possible to achieve the following active-passive geo-distributed topologies using the Replica-of capability:
- Multi-region deployment in the same cloud
- Multi-cloud deployment
- Hybrid on-prem and cloud(s) deployment
Active-passive geo-distributed topology using Replica – Of is illustrated in the following figure: