PPractick

System design interview question

Design consistent hashing

Medium · System design (HLD)

The prompt

"Explain and design consistent hashing. Suppose you have a set of servers and a stream of keys, and servers are added and removed over time. Show me the data structure, the algorithms, and what problems it does and does not solve."

What this round really tests

A focused algorithms-and-data-structures question inside a systems interview. Because the scope is narrow, there is nowhere to hide — the candidate either understands the ring, virtual nodes, and the actual guarantees, or they are repeating a phrase. The best signal is whether they know what consistent hashing fails to solve.

Clarifying questions worth asking

Practise questions like this with a real engineer

On Practick another engineer interviews you live for 60 minutes on a question from this bank. They have the full interviewer guide beside the call: the answers to your clarifying questions, the numbers to hand out, a ladder of follow-ups and a scoring rubric. You get the model solution once the session settles. It is free: interview someone for an hour and you have earned your own.

Book a free mock interview

Related questions

All 132 system design interview questions

System design mock interviews · DSA interview questions · Free mock interview practice · Browse interviewers · Sign in