BackendDatabasesHigh signal

Consistent Hashing

A technique for distributing data across multiple servers so that when a server is added or removed, only a small fraction of data needs to move — instead of nearly everything reshuffling.

Think of it like

Like assigning guests to tables by a rule that only reshuffles the few guests nearest a table that just got added or removed, instead of reassigning every single guest in the room.

Junior or senior?

Junior sounds like

Reaches for a simple 'hash mod N' approach without knowing its limits.

Senior sounds like

Can explain what problem consistent hashing solved that a simpler approach didn't.

Ask them

“What problem did consistent hashing solve that a simpler 'hash mod N' approach didn't?”