System Lab

D4Consistent hashing

Spread keys over N caches with hash % N, and adding one cache moves almost every key. Consistent hashing moves only the keys it has to.