System design method

Requirements → capacity estimates → API → data model → deep dives → failure modes. Drill the classics: rate limiter, notification system, Instagram, chat.

About 28 min read3-question knowledge check

The mental model

A system design interview is not a knowledge test — it is a simulation of how you make architectural decisions under uncertainty with a colleague. The interviewer is asking "would I want to design a system next to this person?" and the thing they are watching is not whether you know Kafka, but whether you can take a vague prompt ("design Instagram"), turn it into concrete requirements, attach numbers to your choices, and reason about what breaks first when it scales.

The analogy that fixes the right behavior: designing a system is like an architect meeting a client who says "build me a house". A bad architect starts drawing walls. A good one asks: how many people live here, what's the budget, do you entertain, do you need a home office, what's the climate? *Then* sketches. The number-one failure in these interviews is jumping to a solution before establishing requirements — candidates who start drawing boxes for "design Twitter" without asking "how many users, read-heavy or write-heavy, do we need the timeline in real time?" have already lost points, because they are solving a problem they have not defined.

This exists as a distinct skill because real backend work *is* this: someone hands you an ambiguous goal, and your value is turning it into a defensible design with explicit tradeoffs. The method is a repeatable framework so you never stare at a blank whiteboard: Requirements → Capacity estimation → API design → Data model → High-level design → Deep dives → Bottlenecks & failure modes. Following it signals that you have done this before.

The two behaviors that separate levels, both stated in the role's own interview guidance: design from the data outward (start with the schema and access patterns, not the boxes), and attach a number to every choice (QPS, payload size, p99, cache hit ratio). "We'll add a cache" is a junior answer; "reads are 100:1 over writes at ~50k read QPS, so a cache-aside layer with a 90% hit ratio takes 45k QPS off the database" is a senior one. And the interviewer will push — "now 10x the writes", "now a region fails" — until they find the edge of what you know, so the goal is not a perfect design but a drivable one where you lead and reason.

The full lesson continues with 15 more sections
  • Deep dive
  • Internal architecture
  • Real-world use cases
  • Best practices
  • Common mistakes
  • Performance
  • Security
  • Production troubleshooting
  • Advantages & disadvantages
  • Alternatives
  • Interview expectations
  • Interview questions
  • Facts to remember
  • Cheat sheet
  • Quick revision