System design fundamentals learning path
Backend engineers preparing for system design interviews who want fundamentals, API choices and a real scaling walk-through in order.
Your progress
L1 · 0 of 6L2 · 0 of 20L3 · 0 of 13L4 · 0 of 1
Next
Level 1 · 6 questions. Begin with what gets asked in the first ten minutes. Levels 2 to 4 build on it.
Level 1First ten minutesTwo-sentence answers to what gets asked first.
Sizing and traffic basics
- 1.1How do you do a back-of-the-envelope estimate, and how does it change your design?Must‑knowReview againNext3 min
- 1.2What does a load balancer do, and what is the difference between L4 and L7 load balancing?Must‑knowReview againNext3 min
- 1.3What is a CDN, and when does it help?Review againNext2 min
Consistency versus availability
- 2.1What is the CAP theorem, and how do you use it in a design?Must‑knowReview againNext4 min
API and HTTP basics
- 3.1What is an API, and how do REST, gRPC and MCP relate to it?Must‑knowReview againNext3 min
- 3.2Which HTTP methods are safe or idempotent, and how do status codes and caching fit?Must‑knowReview againNext5 min
Level 2Daily jobWhat you use at work every week.
Caching, rate limits and Redis
- 1.1How do you keep a cache in sync with the database, and what is a cache stampede?Must‑knowReview againNext3 min
- 1.2How does rate limiting work, and which algorithm would you choose?Must‑knowReview againNext3 min
- 1.3What can Redis do besides caching, and what guarantees must you check?Must‑knowReview againNext4 min
Data growth
- 2.1How does database replication work, and what is replica lag?Must‑knowReview againNext3 min
- 2.2How do you shard data, and how do you choose a shard key?Must‑knowReview againNext3 min
- 2.3Your database is getting slow as traffic grows. What do you do, in what order?Must‑knowReview againNext3 min
Reliability and service boundaries
- 3.1How do you make a service fault tolerant when its dependencies fail?Must‑knowReview againNext3 min
- 3.2How do services find each other in a microservices system?Review againNext2 min
- 3.3When would you choose a monolith instead of microservices?Must‑knowReview againNext4 min
Consistency and coordination
- 4.1What consistency models should you know, from linearizable to eventual?Review againNext3 min
- 4.2What are two-phase commit, sagas and the outbox pattern, and when do you use each?Review againNext3 min
- 4.3How do idempotency keys make retries safe for a payment API?Must‑knowReview againNext3 min
REST, gRPC and MCP
- 5.1What constraints define REST, and what does the uniform interface require?Review againNext4 min
- 5.2How should you version a REST API without breaking clients?Must‑knowReview againNext3 min
- 5.3How does gRPC work, and what are the four RPC types?Review againNext5 min
- 5.4How do you evolve a Protocol Buffers message without breaking old clients?Review againNext3 min
- 5.5How does the Model Context Protocol work, and how does it differ from REST and gRPC?Review againNext8 min
Finding the first bottlenecks
- 6.1How do you load test this honestly and find the real bottleneck?Review againNext3 min
- 6.2The database CPU is pinned at 5,000 requests/s. What's the first fix, and does switching from Node.js to Go help?Review againNext2 min
- 6.3Redis is no longer the limit, but Postgres CPU is. How does caching the links get you to half a million?Review againNext2 min
Level 3SeniorProduction trade-offs and failure modes.
Hard coordination and database choice
- 1.1How does leader election work, and how do you prevent split-brain?Review againNext3 min
- 1.2When is switching databases the right call? Compare Uber and Instagram.Review againNext7 min
Choosing an API style under load
- 2.1Why can a TCP load balancer mishandle gRPC, and can a browser call it?Review againNext3 min
- 2.2When would you choose REST, gRPC or MCP for the same capability?Review againNext6 min
Scaling a real system to 1 million RPS
- 3.1Design and scale a real URL shortener's redirect to 1M HTTP requests/s and about 2B Postgres rows every 30 minutes. Where do you start?Review againNext4 min
- 3.2At 50,000 requests/s the disk is mostly idle. Why is the write path still the bottleneck?Review againNext2 min
- 3.3How do you batch the view writes without losing data if a process crashes?Review againNext3 min
- 3.4Your write buffer lives in RAM. How do you size it, and what happens if the consumer falls behind?Review againNext3 min
- 3.5The app server is out of CPU at half a million. Do you scale up, scale out, or rewrite?Review againNext3 min
- 3.6How do you keep request logging from becoming the bottleneck, or silently dropping lines?Review againNext2 min
- 3.7Walk through the final 30-minute test. How do you prove nothing was lost?Review againNext3 min
- 3.8The database is a single EC2 box at high load. What would you change for durability before production?Review againNext2 min
- 3.9What should a senior candidate say about cost, and when is this scale overkill?Review againNext2 min
Level 4InternalsHow it works underneath, and at scale.
Schema and insert path at extreme scale
Each card is a topic. Columns go from Level 1 to Level 4; the outlined card is where you are.