Slots |primary and Replica
Redis Cluster Sharding - 1 Primary and 2 Replica Nodes
Node 1 (Primary)
Slot Range: 0 - 16383
Responsible for all 16,384 slots.
Node 2 (Replica)
Slot Range: Replicates Node 1's data
Replicates Node 1's data (No slots owned)
Node 3 (Replica)
Slot Range: Replicates Node 1's data
Replicates Node 1's data (No slots owned)
Explanation:
- Node 1 (Primary): Owns and manages all 16,384 slots, responsible for data storage and retrieval.
- Node 2 and Node 3 (Replicas): Replicate the data of Node 1. They do not own any slots but serve as backups in case Node 1 fails.
Comments
Post a Comment