Redis › Clustering
How would you design a Redis Cluster deployment to properly balance high availability, performance, and cost for a large scale production application?
AdvancedAnswer
You would choose a number of master nodes sufficient to spread your data and traffic appropriately, add at least one replica per master for failover protection, place replicas in different physical locations or availability zones than their masters to survive localized failures, and continuously monitor slot distribution and node health to catch imbalances or failures early.
-- Spread masters and their replicas across
-- different availability zones for resilience
redis-cli --cluster create ... --cluster-replicas 1Real-world example A large financial services company deploys their Redis Cluster with masters and replicas spread across three different availability zones, ensuring the cluster survives an entire zone outage without losing access to any of their data.