How to Answer a System Design Interview
A system design interview is a 45-minute conversation, not a quiz. A clear structure (requirements, estimates, API, data model, high-level design, deep dives, trade-offs) matters more than naming every technology.
What you will learn
- Follow a repeatable structure for any design question
- Do back-of-the-envelope estimates
- Drive the conversation and discuss trade-offs
Key concepts
Functional requirements
What the system does: "users can shorten a URL and be redirected". Agree on 3 to 5 core features and leave the rest out loud.
Non-functional requirements
Scale, latency, availability, consistency, durability: "100M redirects a day, p99 under 50 ms, links never lost".
Estimates
Rough numbers decide the design: requests per second, storage per year, read/write ratio. 1 day ≈ 86,400 s, so 100M/day ≈ 1,200 per second on average, plan for 3 to 5× peaks.
Step by step
The 45-minute plan
- 5 min: requirements and scope; ask questions
- 5 min: estimates (QPS, storage, bandwidth)
- 5 min: API endpoints and data model
- 10 min: high-level diagram: clients, load balancer, services, database, cache, queue
- 15 min: deep dives the interviewer cares about: bottlenecks, scaling, failure
- 5 min: trade-offs, what you would monitor, what you would build next
Examples
Numbers worth knowing
L1 cache read ~1 ns
Main memory read ~100 ns
SSD random read ~16 µs
Round trip in one region ~0.5 ms
Redis GET over network ~0.5–1 ms
Indexed DB query ~1–5 ms
Cross-continent trip ~150 ms
1 char ≈ 1 byte · 1M users × 1 KB = 1 GBPractise it
Try these without looking back. If you can explain each one out loud, you are ready for this question.
- Practise the structure on: a rate limiter, a notification service, a news feed.
- Estimate storage for 10M users each uploading 2 photos a day for a year.
Interview questions
What interviewers ask next on this topic. Answer out loud first, then open the model answer.
What do interviewers look for in system design?
Clarifying requirements, reasonable estimates, a working simple design first, identifying bottlenecks, sound trade-offs with reasons, and clear communication. Fancy components without reasons count against you.
Summary
Clarify requirements, estimate, define the API and data, draw a simple design, then deepen where it breaks and explain your trade-offs.
Stuck on this one? Talk to Sumit.
Keys: F focus mode · ← → previous / next topic · Esc leave focus