The design interview framework
A repeatable structure so you never freeze on an open-ended prompt.
The design interview framework in 30 seconds
- The problem: design prompts are open-ended on purpose, and knowing the most components doesn't help if you jump straight to boxes and arrows.
- The fix: run the same five moves every time so you never freeze and always look like a structured thinker.
- The moves: clarify & scope → estimate → high-level design → deep dive → trade-offs & scale.
- Breadth before depth: sketch the whole request path first, then go deep only where it matters — the bottleneck.
- Where the portal plugs in: the deep-dive stage is where every component page's Interview Lens earns its place.
- The real signal: interviewers grade your reasoning, so narrate your choices and name what you traded away.
Why a framework beats raw knowledge
Design interviews are open-ended on purpose. Candidates who know the most components still fail when they jump straight to boxes and arrows. A framework keeps you calm and shows the interviewer a structured thinker — which is the actual signal they're grading.
The five moves
Clarify & scope
Pin down functional requirements, then the non-functional targets (scale, latency, consistency, availability). Agree what's out of scope.
Estimate
Back-of-envelope: QPS, read/write ratio, data size, growth. These numbers justify every later choice.
High-level design
Draw the main components and the request path first. Breadth before depth.
Deep dive
Go deep where it matters — the bottleneck or the part the interviewer probes. This is where caching, replication, and sharding earn their place.
Trade-offs & scale
Name what you optimized for and what you gave up. Address the next bottleneck before you're asked.
Where the component pages plug in
The deep-dive stage is where this portal pays off. A strong answer doesn't just name a cache — it states the read/write ratio, picks cache-aside with a short TTL, and pre-empts the stampede. Each component page ends with an Interview Lens built exactly for move 4 and move 5.
Caching lens
Read path, staleness budget, stampede.
Replication lens
Read scale, lag, failover window.
Sharding lens
Shard-key choice, hot keys, resharding.
This page is the spine of the entire portal. Every component deep dive, every trade-off, every Interview Lens is a tool — and the five moves are the order in which you reach for them so the whole collection adds up to a coherent answer instead of a pile of facts.
Why it matters
- It converts a scary open-ended prompt into a calm, repeatable routine you can run under pressure.
- It's what the interviewer is actually grading — structured reasoning, not a memorized parts list.
- It gives every other page on this site a place to live: breadth in moves 1–3, depth in move 4, honesty in move 5.
If ignored
- Freezing or rambling on an open prompt because there's no structure to fall back on.
- Jumping straight to components before clarifying requirements, then solving the wrong problem well.
- Listing technologies with no stated trade-off, which reads as recall rather than judgement.
Where it fits
- Sits before everything — it's the first page to read and the scaffold the rest hangs on.
- Each component page's Interview Lens is built specifically for move 4 (deep dive) and move 5 (trade-offs).
- The estimate and clarify moves gate how much of any component you actually need to bring in.
Related topics
- The interview approach: the mindset and signals behind why this structure works
- The key trade-offs: the raw material for move 5, where you name what you gave up
- Caching: a classic move-4 deep dive — read ratio, TTL, stampede
- Sharding: another common deep dive — shard key, hot keys, resharding
Interview lens
Questions it unlocks
- Design a URL shortener.
- Design a news feed.
- Design a rate limiter.
60-second answer
Whatever the prompt, I run the same five moves: clarify and scope, estimate, sketch the high-level path, deep-dive the real bottleneck, then state trade-offs and the next scaling step. The structure is the point — it keeps me from guessing and shows the interviewer how I decide, not just what I've memorized.
Common traps
- Treating every prompt as a brand-new puzzle instead of running the framework.
- Spending all your time on move 3 and never reaching a real deep dive.
- Forgetting to say what you traded away.