Consistent hashing
A way to spread keys across machines so that adding or removing one only moves about 1 in N keys.
See it in action
These lessons put consistent hashing to work. Read one, then play it and watch what happens without it.
- Add a machine, keep your data: Traffic has reached 9,000 req/s and your one cache needs company. Last time you added a machine, nearly every key…