Hash ring
A circle of hash positions, from 0 to m-1, where nodes and keys are placed.
Example
With nodes at 20, 50 and 80, the key at 35 goes to the node at 50.
Test yourself: Hash ring
Consistent hashing
On the ring, each key goes to the first node it finds going ___.
With nodes at 20, 50 and 80, key 35 goes to 50 and key 90 wraps around to 20.
0/1
â–¶ Play