Skip to main content
Version: 25.01.01

Redis Cluster

Redis Cluster is a powerful, topology-based horizontal scaling solution available as a data service in PDS. This service is designed to meet the demands of modern, scalable, and distributed applications by leveraging sharding and fault tolerance. This section provides an overview of Redis Cluster, its benefits. For more information, refer to the Redis documentation.

Key features of Redis Cluster

  • Horizontal scalability: Redis Cluster enables horizontal scaling by distributing data across multiple nodes using a sharding mechanism. This approach allows applications to scale seamlessly as workloads grow, ensuring consistent performance and resource utilization.
  • Fault tolerance: Redis Cluster is designed to handle node failures gracefully. It uses replica nodes and automated failover mechanisms to ensure continuous availability and reliability for critical workloads that demand minimal downtime.
  • Flexible deployment options: Redis Cluster supports deployments with 6, 8, and 10 nodes, allowing users to choose the configuration that best suits their application's requirements.
  • Data sharding: The cluster divides data across nodes into 16,384 slots, distributing the load evenly to optimize performance and resource usage. Workloads that involve high read/write throughput or large data volumes are well-suited to the sharding mechanism of Redis Cluster.

Redis Cluster deployment options

Redis Cluster is available as a separate data service in the PDS catalog. Users can select one of the following configurations during deployment:

  • 6-node deployment: Suitable for smaller workloads requiring moderate scalability and fault tolerance. Example: A small e-commerce startup runs a Redis-backed caching system to speed up website response times. The startup can choose a 6-node Redis Cluster to handle moderate traffic spikes during sales events while ensuring fault tolerance in case one or two nodes fail.
  • 8-node deployment: Recommended for mid-sized applications needing higher fault tolerance and data distribution. Example: A mid-sized logistics company uses Redis Cluster for real-time GPS tracking and route optimization. With an 8-node deployment, they can ensure high availability and sufficient fault tolerance to keep their tracking system operational across multiple regions.
  • 10-node deployment: Ideal for large-scale applications demanding maximum scalability and resilience. Example: A global social media platform uses a 10-node Redis Cluster to store and manage user sessions across millions of active users. This configuration provides maximum scalability to handle heavy traffic loads and ensures resilience against node failures for uninterrupted user experiences.

How to deploy a Redis Cluster in PDS

Refer to the Deploy a data service page for more information:

  1. In the PDS UI, make sure you select Redis Cluster in the Data Service Overview page -> Deploy Data Service dropdown.
  2. In the Deploy Redis page -> Configuration section -> No. of instances dropdown, choose one of the supported configurations (6, 8, or 10 nodes) based on your application’s requirements.
  • PDS will automatically configure the cluster with sharding and replica nodes.
  • Use the PDS dashboard to track the health, performance, and status of your Redis Cluster.
  • It triggers failover automatically when a primary node becomes unavailable.
  • Review data distribution across shards to avoid hot spots and maintain balanced workloads.