The concrete techniques for finding and fixing bottlenecks, and the through-story that ties every tool in this repo into one ordered journey from one user to a billion.
Time for this part: Weeks 3-4 on the Standard track (the capstone chapter is Week 3; the bottleneck and scaling chapters reinforce Parts 1-2). This part is where the individual components become a strategy.
The unifying idea: measure before you optimize, do less work before doing more work faster, and apply each scaling technique only when the numbers demand it.
| # | Chapter | Time | The problem it solves |
|---|---|---|---|
| 1 | How to Find a Bottleneck | 18 min | “It’s slow” is not a diagnosis — measure, don’t guess |
| # | Chapter | Time | The problem it solves |
|---|---|---|---|
| 2 | Scaling Reads | 16 min | The easy direction — you can copy data freely |
| 3 | Scaling Writes | 16 min | The hard direction — one source of truth |
| # | Chapter | Time | The problem it solves |
|---|---|---|---|
| 4 | Hot Keys and Celebrity Problems | 16 min | Even sharding distributes keys, not load |
| 5 | Thundering Herd & Cache Stampedes | 14 min | Synchronized demand hitting a resource at once |
| 6 | Connection Pooling & Resource Limits | 14 min | Bounding every resource |
| # | Chapter | Time | The problem it solves |
|---|---|---|---|
| 7 | 1 User → 1 Billion Users ⭐ | 25 min | Every technique, in the order you’d apply them |
You should be able to answer these without notes:
Next: Part 11 — The Interview — how to actually run a design round: the framework, the estimation, the deep dives, and the mistakes that lose points.