How it works
The hash ring
Keys and nodes are hashed onto a ring; each key belongs to the next node clockwise.
Virtual nodes
Each physical node maps to many ring points to balance load and smooth rebalancing.
When to use it
It underpins distributed caches, databases, and load balancers that scale nodes up and down.