A Framework for System Design Interviews
Run a 45-60 minute design round with a clear structure: requirements, estimates, API, data model, high-level design, deep dives and wrap-up.
Intermediate · about 4 hours · difficulty 3/5
Learn first: Design a URL Shortener (TinyURL, bit.ly), Back-of-the-Envelope Estimation
System design interviews are open-ended on purpose. A clear structure keeps you from rambling and shows the interviewer how you think.
A 45 to 60 minute structure
- Clarify requirements (5 to 8 min): functional features (agree on 3 or 4 core ones), non-functional needs (scale, latency, availability, consistency), and what is out of scope. Write them down.
- Estimate (3 to 5 min): DAU, read and write QPS, peak, storage over a few years. Only as deep as it changes decisions.
- API (3 to 5 min): the key endpoints with inputs and outputs.
- Data model (5 min): main entities, keys and the database choice with a reason.
- High-level design (10 min): draw clients, LB or gateway, services, databases, caches, queues, CDN. Walk through the main read and write flows end to end.
- Deep dives (15 to 20 min): pick the hardest parts (or follow the interviewer's lead): scaling the hot path, consistency, failure handling, a specific algorithm such as matching or fan-out.
- Wrap up (3 to 5 min): bottlenecks, monitoring, what you would do with more time.
Make it collaborative
Think out loud, check in ("I am planning to focus on the feed generation, does that sound good?"), and adjust when the interviewer nudges you. They are evaluating how you would design alongside them at work.
By level
- SDE-1 / new grad: solid fundamentals, a working end-to-end design, sensible components.
- SDE-2: deeper trade-offs, scaling the bottleneck, failure modes.
- SDE-3 and above: drive the conversation, prioritise, discuss operations, cost and evolution.
Pitfalls
- Drawing boxes before agreeing on requirements.
- Spending 15 minutes on estimation arithmetic.
- Never walking a request through the diagram.
You are ready to move on when you can run this framework on a fresh problem in 45 minutes with a timer and have time left for at least one real deep dive.
Key concepts
- Clarifying requirements and scope
- Estimation that drives decisions
- API and data model
- High-level diagram and request walkthrough
- Choosing deep dives
- Wrap-up: bottlenecks and monitoring
- Expectations by level
Mini project
Record yourself (video or audio) designing three problems from this track in 45 minutes each using the framework, with a diagram in Excalidraw. Rewatch and score each step against the timings above.
Check yourself
The interviewer says 'design Swiggy'. What are the first five questions you ask before drawing anything?
Free resources
- How to approach a system design interview question (System Design Primer)
- ByteByteGo (ByteByteGo)
- Excalidraw whiteboard (Excalidraw)