Systems · Patterns

Consistent hashing

Minimize remapping when nodes join/leave.

Consistent hashing

What it is

Hash ring maps keys to nodes; bounded load variants avoid hot peers.

When to use

Sticky rooms, cache affinity, partitioned state.

Failure mode

Naive rings skew; node loss still moves neighbors' keys.

Lessons