What is a reliable step-by-step framework for a system design interview?
basicFollow a fixed order: clarify requirements, estimate scale, define APIs, sketch the data model, draw a high-level architecture, deep dive into the hardest parts, then discuss trade-offs and failures.
- Requirements (5 min): functional, non-functional, out of scope.
- Estimates (3-5 min): QPS, storage, bandwidth.
- API and data model (5-7 min).
- High-level diagram (10 min).
- Deep dives (15-20 min) on 2 components the interviewer or the problem makes critical.
- Bottlenecks, failure modes, monitoring, extensions (5 min).
- Is the framework a script to recite? No, adapt time to the interviewer's interest; the order exists to avoid skipping steps.
- What if the interviewer jumps ahead? Follow them, and return to skipped steps briefly later.