Quick revision
The short answer
A good 45-minute design discussion moves through five steps: clarify requirements (5 to 8 minutes), estimate only the numbers that drive decisions (3 to 5), define the API and data model (5 to 10), draw the high-level design and walk a read and a write through it (about 10), then go deep on one or two hard parts and close with bottlenecks, failures and growth (10 to 15). Each step leaves something written on the board, and we think aloud and check in with the interviewer at every step.
What to remember
In this answer, we saw a five-step structure for a 45-minute design discussion: requirements written down with scope, estimates that drive decisions, the API and data model with access patterns, a high-level design proven by walking a read and a write through it, and a deep dive followed by failures, monitoring and growth. Thinking aloud and checking in at each step lets the interviewer steer us towards what they want to see.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
A good 45-minute design discussion moves through five steps: clarify requirements (5 to 8 minutes), estimate only the numbers that drive decisions (3 to 5), define the API and data model (5 to 10), draw the high-level design and walk a read and a write through it (about 10), then go deep on one or two hard parts and close with bottlenecks, failures and growth (10 to 15). Each step leaves something written on the board, and we think aloud and check in with the interviewer at every step.
Why this question is asked
In a design interview, the content we know matters less than the order in which we show it. Candidates who start drawing databases in the first minute usually spend half an hour on boxes that any engineer could draw, and never reach the part the interviewer actually wanted to discuss. Interviewers ask about structure because a clear structure is how a senior engineer runs any real design meeting too. In this answer, we will walk through the five steps of a 45-minute session, see what each step should produce and why it comes where it does, look at a time budget, and finish with how to keep the interviewer involved so they can steer us.
1Why a Fixed Structure Helps
A design prompt such as 'design a photo-sharing service' is deliberately open. It could mean a weekend project for a few thousand users or a system for a billion people. The interviewer wants to see whether we narrow the problem before solving it, whether our choices follow from numbers, and whether we can find and handle the hard part.
A fixed structure gives us a checklist we do not have to invent under pressure. It also makes the time visible: if we know that requirements should be finished around minute 8, we notice when we are still talking about them at minute 15. The structure below is the one most design reviews follow, compressed into 45 minutes.
| Step | Minutes | What it leaves on the board |
|---|---|---|
| Clarify requirements | 5 to 8 | Core flows, scale, non-functional targets, out of scope |
| Estimate | 3 to 5 | Peak RPS, read/write ratio, storage per year, bandwidth |
| API and data model | 5 to 10 | Main endpoints, entities, access patterns |
| High-level design | about 10 | Boxes plus one read and one write walked through |
| Deep dive and wrap-up | 10 to 15 | One or two hard parts, failures, monitoring, 10x growth |
2Clarify Requirements
We start by asking what the users actually do. For a photo-sharing service, the core actions might be uploading a photo, following people and viewing a feed of photos from the people we follow. Then we ask who uses it and at what scale, for example 10 million daily active users, and which non-functional needs matter: how fast the feed must load (latency), how much downtime is acceptable (availability), and whether a new photo must appear in every follower's feed instantly or can arrive a few seconds later (consistency).
The output is a short written list on the board: two or three functional requirements, three or four non-functional ones with numbers, and an explicit 'out of scope' line such as 'no comments, no direct messages, no ads'. Writing it down matters. It gives us and the interviewer a contract we can point back to, and it stops the scope from growing silently while we design.
3Estimate Only What Drives Decisions
Next we do a few minutes of arithmetic, but only for numbers that will change a decision. Ten million users making 20 requests a day is 200 million requests a day, about 2,300 per second on average and perhaps 6,000 at peak. If 10 percent upload a 2 MB photo daily, that is 2 TB of new data a day, roughly 730 TB a year. The read-to-write ratio is probably 100 to 1 or more.
Notice what these numbers buy us. A 100-to-1 read ratio justifies a cache and a CDN. Hundreds of terabytes a year tells us photos belong in object storage such as S3, not in a database. A few thousand requests per second for metadata is comfortable for a single well-sized PostgreSQL primary with replicas. Every later choice can now say 'because of this number'. We skip numbers that would not change anything, such as the exact size of a user profile.
4Define the API and the Data Model
Now we write the main operations as they would appear to a client, with their inputs and outputs, and the core entities with the queries we will run against them. The access patterns, meaning which queries run and how often, are what decide the storage, so this step comes before the boxes.
The comments on the right are the important part. 'Read by user_id, newest first' tells us we need an index or a partition key on user_id ordered by time, and that cursor-based paging fits better than offsets. Seeing that follows are read in both directions warns us early that a single partition key will not serve both queries.
5Draw the High-Level Design and Walk Requests Through It
With requirements, numbers and access patterns on the board, the boxes almost draw themselves: clients, a CDN for photo bytes, a load balancer, stateless API services, PostgreSQL for metadata, Redis for feeds and hot data, S3 for photos, and a queue such as Kafka for work that does not need to happen inside the request, like generating thumbnails and fanning a new photo out to followers' feeds.
Boxes alone prove little. We then walk one write and one read through them end to end. The upload goes to S3 through a pre-signed URL, the metadata row is written to PostgreSQL, and an event goes to Kafka; a worker makes thumbnails and adds the photo to followers' feeds. The feed read hits Redis first, falls back to PostgreSQL on a miss, and returns URLs that the client loads from the CDN. Walking the requests exposes gaps that a static diagram hides, such as who creates the thumbnail URL or what happens if the fan-out worker is slow.
6Deep Dive, Then Close
The largest block of time goes to one or two hard parts. We choose them by risk, or simply ask the interviewer which they prefer. For a photo feed, the classic hard part is fan-out: pushing a new photo into the feeds of a celebrity's 50 million followers would take minutes and huge write volume, so we push for normal users and pull at read time for accounts with very many followers. We explain the mechanism, the numbers and what it costs.
In the last few minutes we close: name the first bottleneck, say what happens when a node, a zone or Kafka fails, say which metrics we would watch (feed latency p99, fan-out lag, cache hit ratio), and describe what changes at 10 times the load. This shows we think about operating the system, not just drawing it.
- Clarify requirementsWrite flows, scale, targets, out of scope
- EstimateOnly numbers that change a decision
- API and data modelAccess patterns decide storage
- High-level designWalk one read and one write
- Interviewer has a preference?Ask before the deep diveYesGo deep on their areaNoGo deep on the riskiest part
- CloseBottlenecks, failures, metrics, 10x
6 steps in order. Play them, or step through them one at a time.
7Thinking Aloud and Checking In
Throughout, we say our assumptions out loud ('I will assume a photo appears in feeds within a few seconds, not instantly') and pause at the end of each step to ask whether the interviewer wants to adjust anything. This is not politeness for its own sake. The interviewer has a list of things to assess, and checking in lets them steer us towards it instead of watching us spend ten minutes on something they do not care about. A silent candidate who draws a perfect diagram gives them less to score than a talking one who explains every choice.
8Follow-up questions
What do you do if the interviewer wants to skip the estimates?
We accept, and state the assumptions we would otherwise have calculated in one sentence, such as 'I will assume a few thousand requests per second, read-heavy, and hundreds of terabytes of photos a year'. That keeps later choices justified without spending the time. When a decision later depends on a number, we do that one calculation in a few seconds at the point where it matters.
What if the interviewer jumps straight to a deep dive?
We follow them, because they are telling us what they want to assess. We quickly state the two or three requirements and numbers the deep dive depends on, so our answer still rests on something, and come back to the rest only if time allows.
Should the time budget be followed strictly?
No, it is a guide. Some prompts need more time on requirements and others on the data model. The point is to notice when one step is consuming the time of the deep dive, which is where most of the signal is.
9Conclusion
In this answer, we saw a five-step structure for a 45-minute design discussion: requirements written down with scope, estimates that drive decisions, the API and data model with access patterns, a high-level design proven by walking a read and a write through it, and a deep dive followed by failures, monitoring and growth. Thinking aloud and checking in at each step lets the interviewer steer us towards what they want to see.
Open with
I follow a fixed structure so the time goes where the signal is. For the first five to eight minutes I clarify requirements: the two or three core user actions, who uses it and at what scale, and the non-functional targets like latency, availability and consistency, and I write down what is out of scope.
Then, if they want more
Then I spend three to five minutes on estimates, but only the ones that drive decisions: peak requests per second, read-to-write ratio, storage per year and bandwidth. Next, five to ten minutes on the API and data model, because the access patterns decide the storage choice.
Then about ten minutes on the high-level design, clients, load balancer, services, storage, caches and queues, and I walk one write and one read through it end to end, which usually exposes gaps.
The largest block, ten to fifteen minutes, goes to one or two hard parts, chosen by risk or by asking the interviewer, for example fan-out for a feed. I close with the first bottleneck, failure modes, what I would monitor and what changes at ten times the load.
All the way through I think aloud, state my assumptions, and check in at the end of each step so the interviewer can steer me. If they want to skip estimates, I just state the assumed numbers in one sentence and move on.
About this answer
- Last updated
- 13 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "What structure would you follow through a 45-minute design discussion, roughly how much...": https://scrivio-interview-library.netlify.app/architecture/sd-fundamentals/736568d9eb/