Consistent hashing
With hash % N, changing N remaps nearly every key. Consistent hashing places nodes and keys on a ring; adding/removing a node moves only its neighbors' keys. Virtual nodes (each server appears many times on the ring) smooth out the load. Used by DynamoDB, Cassandra, and cache clusters.