This visualizer demonstrates consistent hashing, a technique used in distributed systems to distribute data across multiple servers.
Key Concepts
- Hash Ring: A circular space where both servers and keys are placed using a hash function.
- Virtual Nodes (Replicas): Each physical server is mapped to multiple points on the ring for better distribution.
- Key Assignment: Keys are assigned to the next server clockwise on the ring.
- Replication: Keys can be assigned to multiple servers for redundancy.
Try It Out
Use the controls to add/remove servers, adjust replicas, and see how keys redistribute. Notice how consistent hashing minimizes key movement when servers change.