Running the 45 minutes
easy 30 minA design interview is a conversation with a clock.
Video lesson · Chapter 1 of 5
Twenty-two minutes gone
The 45-minute plan
1:20Reel coming soon
Theory
Read or listen first. About 1 min.
What it is
A system design interview is a conversation about building something, usually 35 to 60 minutes long. You lead most of it, and you leave a design behind.
Running it well means spending the minutes where they count: agreeing what to build, drawing something that works, and going deep in two places.
Why it exists
Most people who struggle know enough. They run out of time with half a design, or spend it on the easy part.
A plan for the minutes frees your attention. You always know what comes next, and whether you are late.
A short history
1958
The US Navy's PERT chart plans large projects as steps with times.
Late 1980s
Francesco Cirillo works in timed blocks, later called the Pomodoro technique.
1995
Scrum is presented publicly; fixed timeboxes become common in software teams.
2000s
Design rounds become a normal part of hiring at large technology companies.
Words to know
- Phase
- A stretch of the interview with one purpose.
- Timebox
- A fixed amount of time for something, finished or not.
- Checkpoint
- A moment to compare the clock with the plan.
- Deep dive
- A detailed look at one hard part.
- Wrap-up
- The closing summary.
How it works
Step through the idea, or press Play.
Agree. Scope, then the numbers and calls that matter
Understand it
Start here
A train that waits for nobody
Think of the interview as a train journey. It calls at five stations, once each (numbers and API share a stop). You can enjoy a station, but if you stay too long you miss the rest of the trip.
The plan
Where the minutes go
| Start | Phase | 45 min | 60 min | You leave with |
|---|---|---|---|---|
| 0:00 | Scope | 5 | 7 | About three features, targets, what is out |
| 0:05 | Numbers | 5 | 7 | The sums that decide something |
| 0:10 | API and data | 5 | 6 | One call per feature, the main record and key |
| 0:15 | Design | 10 | 15 | A working system, grown step by step |
| 0:25 | Deep dives | 15 | 18 | Two hard parts, decided |
| 0:40 | Wrap-up | 5 | 7 | Summary, weak point, next step |
Six phases
Check the plan adds up
One map
Other names for the same plan
You may have seen this as four phases, as nine steps, or as SACRED. They are the same journey with more or fewer labels.
| Our six | Four phases | Nine steps |
|---|---|---|
| Scope | 1 Requirements and scope (what and why) | 1 Requirements and scope |
| Numbers | 2 High-level design (how, big picture) | 3 Capacity planning |
| API and data | 2 High-level design | 2 API design, 5 Database design |
| Design | 2 High-level design | 4 Architecture design, 6 System flows |
| Deep dives | 3 Deep dive (how, details) | 7 Edge cases and trade-offs, 8 Deep dive |
| Wrap-up | 4 Wrap-up (summary and next steps) | 9 Summary |
Phase 1
Scope
- 1
Core features
What must it do? Aim for about three.
- 2
People and access
Who uses it, how often, reading or writing?
- 3
Quality targets
Scale, latency, availability, with numbers.
- 4
Out of scope
Say it, so they can object now.
- 5
Say it back
One sentence that both of you agree on.
Opening
Interviewer
Design a messaging system like WhatsApp.
You
Let me understand the scope first. One-to-one messages, groups, or both?
Interviewer
One-to-one first, able to extend to groups.
You
Good. And how many users should I design for?
Questions to choose from (pick five or six)
Features
Core features? User types? Actions? Mobile, web or both? Special workflows? Live updates, or is a delay fine?
Quality
Daily and monthly users? Read to write ratio? Acceptable latency? 99.9% or 99.99%? Several regions? Compliance or security rules?
Data
How much? Kept how long? Structured or not? Hot and cold access? Strong or eventual consistency? Must it stay in a country?
Traffic
Requests a second? Spikes? Growth? Peak to average? Can something go viral?
Limits
What is out? Budget? Existing systems to reuse? Required technology? Timeline?
When to ask what
Five kinds of question, one example (ride sharing)
Interviewer
Design a ride-sharing service like Uber.
You
Rider, driver, or both?
Interviewer
Both. On-demand rides only.
You
How many daily users should I design for?
Interviewer
50 million, in more than 100 cities.
You
I propose matching in under 2 seconds and 99.99% availability. Are payments, onboarding and ratings out of scope?
Interviewer
Yes. Focus on matching and live tracking. Which database would you choose?
You
Redis for live positions, because they change every few seconds and can be lost. Cassandra for position history, which is write-heavy. Trips need transactions, so a relational database.
Interviewer
And the rush hour?
You
Autoscale the stateless services, batch the GPS updates, and queue ride requests with priority when we are over capacity.
Phases 2 and 3
Numbers, then API and data
Say what you are about to work out and why. "Peak reads will tell me whether I need a cache." Stop when you have the answer.
Worth the time
- Peak reads and writes a second
- Storage over the life of the system
- Open connections, for live systems
- One call for each feature
- The key that answers the main query
Skip unless asked
- Exact bandwidth bills
- Every field of the user table
- Error codes for every call
- Machine types and prices
Phase 4
Design
- 1
Draw the smallest version
Take each feature and follow it from client to storage.
- 2
Choose the store and say why
Match it to the main query and to what must not go wrong.
- 3
Note, do not chase
Write "cache?" beside a box and keep going.
- 4
Add what the numbers require
Caches, queues, a CDN, load balancers: only with a reason.
- 5
Walk one request through
Say what changes in each box.
Phase 5
Deep dives
- 1
Pick the part that fails a target
Or the one the interviewer keeps returning to.
- 2
Offer two or three options
One sentence each.
- 3
Choose
Reason, cost, and what would change your mind.
- 4
Break it
What fails, who notices, how it recovers.
- 5
Check the trade-off
Consistency or availability, latency or cost.
Following the interviewer
Phase 6
Wrap-up
- 1
Decisions
Two or three, each with its reason.
- 2
Weak point
Name it before they do.
- 3
How you would know
Monitoring, alerts, what you would measure.
- 4
Next
What you would improve with more time.
- 5
Ask
"Is there anything you would like me to go deeper on?"
Checkpoints
Am I on time?
| Minute | 45-minute interview | 60-minute interview |
|---|---|---|
| 7 | In numbers | Scope done |
| 10 | Numbers done | In numbers |
| 15 | Starting to draw | In API |
| 25 | Working design, choosing a deep dive | Drawing |
| 35 | Second deep dive | Design complete |
| 40 | Start the summary, whatever is open | In deep dives |
| 53 | Start the summary |
A clean change of phase
You
I have spent about five minutes on requirements. Let me summarise and move to the numbers.
Interviewer
Sounds good, go ahead.
You
Then I will sketch the architecture, and we can dive into any component you like.
Recover
When it goes wrong
Late? Decide in ten seconds
| It happens | Do this | Say this |
|---|---|---|
| You are late | Shorten the next phase, keep the summary | "I will draw the short version now." |
| You are stuck | Park it, keep the system moving | "I will treat this as a box and come back." |
| You made a mistake | Correct it plainly | "That breaks on a retry. I would change it to..." |
| You do not know a term | Say so, reason from need | "I have not used it. What I need is..." |
| They disagree | Ask what they see, weigh it, decide | "That is a fair point. It changes my choice because..." |
| They give a hint | Take it | "You are pointing at the hot key. Let me look." |
Summary
The whole topic in one minute.
Six phases fill 45 minutes: 5, 5, 5, 10, 15 and 5. Finish the whole before polishing a part.
One sentence closes each phase. If you are late, cut depth and keep the summary.
- Six phases: 5, 5, 5, 10, 15, 5.
- Finish the whole before polishing a part.
- One sentence closes each phase and opens the next.
- Cut depth when late, never the summary.
- Follow the interviewer: a question is a signal.