Practice — Consistent Hashing (6 questions)
Intermediate
Open
Free
Virtual Nodes Won't Save You From One Viral Key Permalink →
Your distributed cache ring uses 256 virtual nodes per physical server. You've verified the key-count distribution is close to ideal: every server owns roughly 1/N of the total keys, within a percent or two. Overnight, one specific key — a celebrity's profile — starts receiving 30% of all read traffic on the system.
A teammate suggests: "let's bump virtual nodes from 256 to 1,024 per server — that should smooth out the load spike." Will increasing the virtual node count fix this specific problem?
Share this question