What is the difference between Redis Sentinel and Redis Cluster?
Answer
Redis Sentinel provides high availability for a single Redis dataset — it monitors master and replica nodes, automatically promotes a replica to master if the master fails, and updates clients via a service discovery mechanism. It does NOT partition data across nodes — the entire dataset lives on one master. Redis Cluster provides both high availability and horizontal scalability by partitioning the dataset across multiple master nodes, each with its own replicas. Use Sentinel when your dataset fits on one node and you primarily need automatic failover. Use Cluster when your dataset is too large for one node or you need write throughput across multiple nodes. Sentinel is simpler to operate; Cluster adds complexity but enables true scale-out.
Previous
What is Redis Cluster and how does it shard data?
Next
How do MULTI and EXEC work in Redis transactions?
More Redis Questions
View all →- Intermediate What is Redis Cluster and how does it shard data?
- Intermediate How do MULTI and EXEC work in Redis transactions?
- Intermediate What is WATCH and optimistic locking in Redis?
- Intermediate What is Lua scripting in Redis and when should you use it?
- Intermediate What are Redis eviction policies?