Preparing for system design interviews
You can build a working service, and you need to design one at scale and defend each choice.
By the end: Turn vague requirements into a design, size it, name where it breaks, and say what you would trade.
0 of 34 steps done≈ 6 h of lessons
A lesson counts as done once you mark it Practicing or Mastered at the top of the lesson. A guided session counts once you tick it off on its own page. Labs are part of the order but are not counted.
1.How a request travels
- Follow a Web Request Through Every LayerFoundation≈ 20 minNetworking
- DNS: Why Names Need a Distributed DatabaseFoundation≈ 10 minNetworking
- TCP: A Reliable Ordered Byte Stream over an Unreliable NetworkIntermediate≈ 10 minNetworking
- HTTP: Requests, Responses, Headers and Status CodesIntermediate≈ 15 minNetworking
- What Is Software Architecture?Foundation≈ 10 minArchitecture
- From a Simple App to a Scaled SystemFoundation≈ 10 minArchitectureThe whole interview in one lesson: add a component only when a problem forces it.
- API Architecture: REST, GraphQL, RPC, gRPC, WebSockets, WebhooksFoundation≈ 10 minArchitecture
2.Storing the data
- Why Is This Query Slow? IndexesFoundation≈ 5 minDatabase
- Transactions and ACIDFoundation≈ 5 minDatabase
- Isolation LevelsFoundation≈ 5 minDatabase
- SQL vs NoSQL: Choosing a Data ModelIntermediate≈ 5 minDatabase
- Replication and Read ScalingIntermediate≈ 5 minDatabase
- Partitioning and ShardingIntermediate≈ 5 minDatabase
3.Scaling reads and writes
- Horizontal vs Vertical ScalingIntermediate≈ 10 minArchitecture
- Stateless vs Stateful ServicesIntermediate≈ 10 minArchitecture
- Load BalancingIntermediate≈ 10 minArchitecture
- Caching ArchitectureFoundation≈ 10 minArchitecture
- Cache Invalidation, Stampedes and Hot KeysIntermediate≈ 5 minDatabase
- CDN ArchitectureFoundation≈ 10 minArchitecture
- Consistent HashingIntermediate≈ 15 minArchitecture
4.Asynchronous work and consistency
- Message QueuesFoundation≈ 10 minArchitecture
- IdempotencyIntermediate≈ 10 minArchitecture
- Idempotency Keys: The MechanismFoundation≈ 10 minAPI Design
- CAP and Distributed SystemsIntermediate≈ 15 minArchitecture
- Partial Failure: The Founding ConditionFoundation≈ 15 minDistributed
- Quorums: What R + W > N Does and Does Not BuyFoundation≈ 15 minDistributed
- Consistency Models: What "Consistent" Has To MeanFoundation≈ 15 minDistributed
- Distributed TransactionsIntermediate≈ 10 minArchitecture
- Saga PatternAdvanced≈ 15 minArchitecture
5.Keeping it up
6.Practise the interview