Consistent Hashing

Stable key-to-node placement across membership changes: modulo remapping, consistent-hash rings, virtual points, rendezvous hashing, collision-safe Java implementations, hash contracts, replica selection, weighting, testing and membership handoff. Use when changing node count causes a miss storm or migration, ownership is uneven, or placement relies on Object.hashCode. Does not choose the shard key (sharding-and-partitioning), repair hot keys (hot-partitions-and-rebalancing), define cache topology (cache-sharding-and-replication), or balance interchangeable replicas (load-balancing-and-routing).

robsonkades 68eb12c 4 files · 30.3 KB Updated

File contents

robsonkades/agent-skills/tree/main/skills/consistent-hashing commit 68eb12cd7c

Frequently asked questions

npx skillmds@latest add robsonkades/consistent-hashing