Why architecture matters here
Rendezvous fails on wrong hash choice + weighted math bugs. Architecture matters because simplicity is the value.
Advertisement
The architecture: every piece explained
The top strip is the algorithm. Key K + nodes. Hash(K, N_i). Argmax. Replication top-K nodes.
The middle row is properties. Add / remove node minimal remap. Memory O(1). Skeleton variant. Weighted.
The lower rows are practice. vs consistent hashing. Use cases. Ops — hash + weighting.
Advertisement
End-to-end flow
End-to-end: cache LB uses rendezvous. Each request keyed by user_id; hash(user_id, node_i) computed for all N nodes; top-2 selected for primary + backup. Adding a node moves 1/N of keys.