◐ ai-teacher

🎯 Interview & Career · Chapter 4

The system design round: a 6-step framework

You already know the six steps. This lesson is about the clock, the rubric and the interviewer — because most design rounds are lost at minute 25, not at step 4.

Study this lesson free in the app →

The basics

The system design round is a 45–60 minute conversation where you design a data system — “design Meghalaya Cabs' driver payouts pipeline” — on a whiteboard or shared doc, while the interviewer probes your choices.

Builds on sc-003. That lesson taught the six steps: requirements → numbers → interfaces → boxes → deep dive → failure & cost, and why numbers before nouns. This one is about running the round: how to budget the minutes, what the interviewer is writing on their rubric at each step, how to follow when they steer, and what separates a mid-level ‘yes’ from a senior ‘strong yes’.

The mental model: you are the driver of a 50-minute meeting with one stakeholder. Your job is to cover all six steps, go deep on one, check in at every transition, and leave evidence for every rubric line.

Words to know: time-box, checkpoint, rubric, deep dive, steer, level signal.

Explained

Minute 28 of 50. Arjun has a beautiful whiteboard: Kafka, Flink, Iceberg, Airflow, Snowflake, a feature store.

The interviewer: “Let's talk about what happens if a payout runs twice.”

Arjun: “Sure — just let me finish the serving layer first.”

He never got to it. Feedback: “Broad, no depth. Did not engage with correctness when prompted.” He knew the six steps. He lost the clock and ignored the steer.

The architect's site visit

A client asks an architect in Shillong to design a house on a hillside plot. They have one hour on site.

A good architect asks first: how many people, budget, monsoon drainage? Paces the plot. Sketches rooms. Then — when the client says “I'm worried about landslides” — she stops sketching the kitchen and spends twenty minutes on retaining walls and foundations.

She leaves with a rough plan of everything and a detailed plan of the one thing the client cared most about. Breadth to show you see the whole, depth where the client points.

The 50-minute clock

Say the plan at minute 0: “I'll spend a few minutes on requirements and numbers, sketch end to end, then go deep wherever you'd like.” It tells the interviewer you're managing time — itself a rubric line.

What the interviewer is writing

rubric line          evidence they want                     where it comes from
──────────────────────────────────────────────────────────────────────────────
Requirements         asked about freshness, correctness,     step 1
                     consumers; scoped explicitly
Estimation           did arithmetic, drew a conclusion       step 2
                     (‘small — one DB is fine’)
High-level design    coherent end-to-end flow, data model    steps 3–4
Depth                one component in real detail            step 5
Trade-offs           named alternatives + why not            every step
Operability          failure, idempotency, backfill,         step 6
                     monitoring, cost
Communication        drove, checked in, followed steers      throughout

A gap in any line is a risk. The depth and trade-offs lines are where mid and senior candidates separate.

Worked opening: driver payouts

Prompt: “Design the pipeline that computes weekly payouts for Meghalaya Cabs drivers.”

Requirements (spoken): “Who consumes it — finance, who transfers money every Monday? So correctness beats freshness: weekly, but exactly right, auditable, never paid twice. Inputs: completed rides, incentives, penalties, cash collected by drivers?”

Numbers: “~40,000 active drivers, ~1M rides a day, so 7M rides a week — about 12 rides per second on average. Output is 40,000 payout rows a week. This is small data; the hard part isn't scale, it's correctness.”

Boxes: rides + incentive rules → daily earnings ledger (append-only, one row per ride per adjustment) → weekly payout calculation → payout file to bank API with idempotency key driver_id + week → reconciliation against bank confirmations.

Checkpoint: “That's end to end. I think the interesting part is guaranteeing no double payouts and handling late adjustments — shall I go deep there?”

Running the deep dive

Pick the part with the most risk, not the most technology. For payouts that's correctness:

Narrate each as choice → reason → alternative rejected: “append-only ledger, because auditors need history; I rejected updating rows in place because we'd lose what was paid.”

How the round is lost

Six steps, one clock, one deep dive, follow every steer.

At each transition: summarise, then ask ‘deeper here, or move on?’ Leave evidence on every rubric line.

Words to know

Time-boxA fixed slice of the interview allocated to one step, kept deliberately.
CheckpointA pause at a transition to summarise and let the interviewer choose depth or direction.
SteerAn interviewer's question redirecting you — usually toward a rubric line they still need evidence for.
RubricThe scoring dimensions: requirements, estimation, design, depth, trade-offs, operability, communication.
Deep dive15 or so minutes on one component in real detail — ideally the riskiest one.
Level signalEvidence that places you at mid, senior or staff — mostly from depth, trade-offs and operability.

In two minutes

Test yourself

1. In a 50-minute design round, roughly how long should the deep dive get?

  1. 2–3 minutes
  2. About 15 minutes
  3. 35 minutes
  4. None — breadth matters more
Show the answer

About 15 minutes — Depth is a separate rubric line. Around 15 minutes is enough to show real detail while leaving time for failure and cost.

2. Minute 22: the interviewer asks, ‘What happens if this job runs twice?’ You're mid-way through the serving layer. Best response?

  1. Finish the serving layer first
  2. Say you'll cover it at the end
  3. Park the serving layer and address idempotency now
  4. Ask them to hold questions
Show the answer

Park the serving layer and address idempotency now — A steer signals what evidence they still need. Following it immediately gives them that evidence and shows you collaborate.

3. For a weekly driver-payouts pipeline (~12 rides/sec average), which component deserves the deep dive?

  1. Idempotent payouts, late adjustments and verification before money moves
  2. Kafka partitioning strategy
  3. Choosing between two dashboard tools
  4. Cluster autoscaling
Show the answer

Idempotent payouts, late adjustments and verification before money moves — The risk is correctness, not scale. Deep-dive where failure would hurt most.

4. What is the purpose of a checkpoint like ‘deeper here, or move on?’

  1. To fill time
  2. To end the interview early
  3. To ask for the answer
  4. To let the interviewer direct depth and avoid spending minutes on what they don't need
Show the answer

To let the interviewer direct depth and avoid spending minutes on what they don't need — It turns a monologue into a collaboration and keeps you aligned with what's being scored.

5. Which statement best shows a trade-off?

  1. ‘I'll use Spark.’
  2. ‘I'd batch daily; if finance needed intraday balances I'd stream into the ledger, at roughly three times the operational cost.’
  3. ‘Spark is the best tool.’
  4. ‘We can use anything here.’
Show the answer

‘I'd batch daily; if finance needed intraday balances I'd stream into the ledger, at roughly three times the operational cost.’ — It names the choice, the condition that would change it, and the cost of the alternative — exactly the trade-off evidence the rubric asks for.

6. Trap: at minute 30 you realise your earlier join double-counts. What should you do?

  1. Say nothing — they may not notice
  2. Restart the whole design
  3. Say so, explain the fix briefly, and continue
  4. Argue it's acceptable
Show the answer

Say so, explain the fix briefly, and continue — Self-correction is strong evidence of rigour. Hiding or defending an error is what turns a fixable mistake into a no.

There are 8 questions, 3 puzzles and 5 recall cards for this lesson in the app — the recall cards come back on later days, just before you would forget.

Learn it so it stays. Read it, test yourself, then recall it on two different days. The app schedules that for you, free.

Start this lesson →