01Chapter 1: Start with the problem, not the boxesThis chapter assumes you know the basics of client-server and web architecture, you have used HTTP APIs and databases, and you can read short Python snippets. You do not need to have designed a large system before.3 min read
02Chapter 2: Pin down functional and non-functional requirementsThis chapter assumes you know the basics of client-server architecture, HTTP APIs, and databases. The previous chapter covered framing an open-ended problem. Here you turn that framing into a short, checkable list of requirements.3 min read
03Chapter 3: Set scope and write down your assumptionsThis chapter assumes you can already list functional and non-functional requirements for a problem, as covered in the previous chapter. It also assumes you know basic client-server architecture. Here you decide what you will and will not design, and you record the numbers and guesses the design rest3 min read
04Chapter 4: Estimate traffic, storage, and bandwidthThis chapter assumes you know how client-server systems work, can read short Python snippets, and have used HTTP APIs and databases. It covers back-of-envelope estimation: rough arithmetic that tells you which order of magnitude your design must handle.3 min read
05Chapter 5: Know your building blocksThis chapter assumes you have read the earlier chapters on requirements and capacity estimation. It also assumes you know how HTTP APIs and databases work. Here you will learn the standard components that most designs are assembled from. You will also learn what problem each one solves and when to l2 min read
06Chapter 6: Sketch the API and the data modelThis chapter assumes you can read short Python snippets, know how HTTP APIs and relational or key-value databases work, and have already written down your requirements. The API and the data model turn those requirements into concrete access patterns. Those patterns drive your storage choice later.3 min read
07Chapter 7: Draw the high-level architectureThis chapter assumes you have a short list of requirements, rough capacity numbers, a sketched API, and a data model. You also need to know the common building blocks: load balancers, caches, queues, and databases. The high-level design connects these pieces into one picture that shows how a request3 min read
08Chapter 8: Choose storage that fits the access patternThis chapter assumes you have already listed the requirements, estimated capacity, and sketched an API and data model. You should also know the basics of relational and key-value databases. Here you pick the storage that fits how the data is read and written.3 min read
09Chapter 9: Scale with replication, partitioning, and cachingThis chapter assumes you have read the earlier chapters on capacity estimation and the high-level architecture. You should be comfortable with HTTP APIs, databases, and short Python snippets.3 min read
10Chapter 10: Make trade-offs explicitThis chapter assumes you have read the earlier chapters on requirements, capacity estimation, storage choices, and scaling. You should know what replication, partitioning, and caching do. Here you learn to say what each choice costs and why you accepted that cost.3 min read
11Chapter 11: Deep dive into the riskiest componentThis chapter assumes you have a high-level architecture, rough capacity numbers, and a basic grasp of replication, partitioning, and caching. It covers how to choose one component to examine closely and how to examine it.2 min read
12Chapter 12: Plan for failureThis chapter assumes you have a high-level design and a scaling plan from earlier chapters: replicas, partitions, and a cache. It also assumes you know basic HTTP and database terms. Here you ask a different question about that design: what happens when each part stops working?3 min read
13Chapter 13: Communicate and iterateThis chapter assumes you have already clarified requirements, estimated capacity, and drawn a high-level design. It covers how to explain that design, and how to change it when requirements or feedback change.3 min read
14Chapter 14: Check the design against the requirementsThis chapter assumes you have already written down requirements and assumptions, estimated capacity, and drawn a high-level design with storage, scaling, and failure handling. The review is the last step. You go back to the start and test whether the design does what you said it would do.3 min read