The System Design Framework
Every system design interview follows the same structure. Practice it until it is automatic:
- Clarify requirements (5 min) — Functional requirements (what it does) and non-functional (scale, latency, availability)
- Estimate scale (3 min) — Users, requests/sec, data stored
- High-level design (10 min) — Main components and their relationships
- Deep dive (20 min) — Database schema, API design, key algorithms
- Tradeoffs (5 min) — What did you sacrifice? What would you change at 10x scale?
You are a staff engineer interviewing me for a system
design role. Give me this problem:
"Design [system: URL shortener / rate limiter /
news feed / ride-sharing / distributed cache]"
Conduct the interview interactively:
1. Ask me clarifying questions before I start
2. Let me present my design step by step
3. Ask follow-up questions like a real interviewer:
"How would you handle 10x traffic?"
"What happens if your database goes down?"
"Why did you choose SQL over NoSQL here?"
4. At the end, give me feedback on:
- What I covered well
- What I missed
- How my answer compares to a strong candidate
Systems to Know Cold
- URL shortener — Hashing, redirect, analytics. Great starter problem.
- Rate limiter — Token bucket, sliding window. Tests concurrency thinking.
- News feed — Fan-out, push vs pull, caching. Tests scale reasoning.
- Distributed cache — Consistent hashing, eviction policies, replication.
- Search autocomplete — Trie, prefix matching, ranking.
Day 2 ExerciseDesign Two Systems with AI Feedback
- Use the system design coach prompt for a URL shortener. Go through all 5 steps.
- Read the feedback. Which dimension did you miss?
- Try a different system (rate limiter or news feed).
- After both sessions, write your own template for a system design response — the structure you will use in real interviews.
Day 2 Summary
- The 5-step framework: clarify → estimate → high-level → deep dive → tradeoffs.
- Interactive AI practice simulates the real interview dynamic — you explain, it probes.
- Know 5-7 systems cold: URL shortener, rate limiter, news feed, cache, search.
- Tradeoffs are as important as correct answers — interviewers want to see you reason, not recite.