PPractick

System design interview question

Design a distributed cache

Medium · System design (HLD) · Company tags: Google, Amazon, Redis

The prompt

"Design a distributed cache — something like Memcached or Redis used as a caching tier. Hundreds of nodes, terabytes of memory, serving millions of reads per second in front of a database. Tell me how a client finds the right node and what happens when nodes come and go."

What this round really tests

consistent hashing, eviction, and cache-coherence failure modes. The three signature issues are: how keys map to nodes without a mass reshuffle when the topology changes, what happens when a hot key overwhelms one node, and the stampede/avalanche behaviours that make caches fail catastrophically rather than gracefully.

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