Multi-Region Cluster

Redis Multi-Region Cluster

Redis Multi-Region Cluster is a pre-packaged distributed Redis implementation where data is sharded between cluster nodes deployed in different regions. The solution is designed for high performance, horizontal scalability, writing safety, and high availability.

Solution Goals

High performance and linear scalabilityThere are no proxies in the cluster architecture. Asynchronous replication is used, and merge operations are not performed on values.
Writing safetyThe cluster makes a best-effort attempt to preserve acknowledged writes originating from clients connected to most Primary nodes. Small windows where acknowledged writes can be lost may still occur, especially when clients are in a minority partition.
AvailabilityThe cluster can survive partitions when the majority of Primary nodes remain reachable and at least one reachable replica exists for every unavailable Primary. Replica migration can also move a replica from a well-covered Primary to one that no longer has a replica.

Database Cluster Topology

The Redis Multi-Region Cluster consists of node groups deployed into at least three different regions. Two topology options are available depending on the required balance between performance, scalability, and high availability.

Maximum Performance

The Maximum Performance topology is intended to provide maximum performance together with horizontal scalability.

Redis multi-region maximum performance topology
Maximum Performance topology for Redis Multi-Region Cluster.

Maximum Reliability

The Maximum Reliability topology is designed for exceptionally high availability, including recovery when one or two data centers become unavailable. This topology is not horizontally scalable.

Redis multi-region maximum reliability topology
Maximum Reliability topology for Redis Multi-Region Cluster.

Both topologies provide built-in high availability and failover. If an individual cluster node fails, the database cluster continues working without downtime. The Maximum Performance topology can continue after one or two node failures, while the Maximum Reliability topology can recover even after one or two regions become unavailable.

Cluster Installation

  1. Open the platform Marketplace and locate Multi-Region Redis Cluster in the Clusters section or through Search.
  2. Open the installation dialog and configure the cluster parameters.
  3. Click Install and wait for the deployment process to finish.
  4. After installation, review the success notification and the emails containing cluster entry-point information and access credentials.
Redis Multi-Region Cluster in Marketplace
Find the Multi-Region Redis Cluster package in Marketplace.

The installation dialog includes the following settings:

VersionSelect the preferred Redis version.
EnvironmentProvide a name used to group the database-cluster environments.
Create separate environment groupEnable this option to isolate the environment group.
Enable External IP Addresses for cluster nodesAdd public IP addresses to cluster nodes. Three public IPs are added per region. This is required when the Redis client is located outside the platform.
TopologySelect either Maximum Performance or Maximum Reliability.
RegionsSelect the platform regions where the cluster environments should be deployed. For Maximum Reliability, the first selected region hosts Primary servers and the remaining regions host Secondary databases (replicas).
Install Redis Multi-Region Cluster
Configure Redis version, environment group, public IPs, topology, and regions.
i

External Redis clients

If the Redis client is outside the platform, enable external IP addresses during installation so each cluster node receives the required public IP addresses.

The installation can take several minutes. To view all related environments together afterward, switch to the environment group specified during installation.

Redis multi-region environment group
Use the configured environment group to manage all related Redis cluster environments together.

Cluster Entry Points

The default entry points for the multi-region cluster are the IP addresses assigned to the Redis cluster nodes, with Primary-node addresses preferred.

If Enable External IP Addresses for cluster nodes was selected during installation, use the public IP addresses assigned to the cluster nodes.

Use a cluster-aware Redis client

The source documentation strongly recommends using client software that supports Redis Cluster mode.

Redis Multi-Region Cluster environments
Use the assigned cluster-node IP addresses as Redis Multi-Region Cluster entry points.

Expected Result

A distributed Redis Cluster is deployed across at least three platform regions using either the Maximum Performance or Maximum Reliability topology. Cluster-node IP addresses serve as application entry points, and a cluster-aware Redis client can connect directly to the distributed database.

Important Notes

  • The cluster requires at least three platform regions.
  • Maximum Performance prioritizes performance and horizontal scalability.
  • Maximum Reliability prioritizes cross-region availability and is not scalable.
  • Both topologies provide automatic failover for node failures.
  • Maximum Reliability can recover after one or two region failures.
  • Three public IP addresses are added per region when external IPs are enabled.
  • For Maximum Reliability, the first selected region contains Primary servers and the remaining regions contain replicas.
  • Use a Redis client that supports cluster mode.