01Chapter 1: Why requirements come before designThis chapter assumes you know how a client talks to a server over a web API. It also assumes you know what a database and a cache do, and that you can read short Python snippets. No earlier chapter is needed.2 min read
02Chapter 2: Functional requirements: what the system doesThis chapter assumes you know how client-server applications and web APIs work, and that you can read short YAML and Python snippets. It covers functional requirements. Quality targets such as latency and availability come in later chapters.2 min read
04Chapter 4: Eliciting requirements from stakeholdersThis chapter assumes you can tell functional requirements (what the system does) from non-functional requirements (how well it does it). It also assumes you are comfortable with client-server systems and web APIs.2 min read
05Chapter 5: Actors, use cases and user storiesThis chapter assumes you can tell a functional requirement from a non-functional one and have a list of stakeholders. It shows how to turn that list into actors, use cases and user stories. These three tools make functional requirements specific enough to design against.2 min read
06Chapter 6: Setting scope, assumptions and constraintsThis chapter assumes you can tell functional from non-functional requirements and have already gathered input from stakeholders. It also assumes you can read short Python snippets. Here you turn that input into a written boundary for the design.2 min read
07Chapter 7: Making quality targets measurable: SLIs, SLOs, SLAsThis chapter assumes you can tell functional from non-functional requirements and can read short Python snippets. A non-functional requirement such as "the service must be fast" cannot be tested. This chapter shows how to turn it into a target you can measure.2 min read
08Chapter 8: Performance requirements: latency, throughput, percentilesThis chapter assumes you know what a non-functional requirement is and why it must be measurable. It also assumes you can read short Python snippets. Here you will write performance requirements that a team can test.2 min read
09Chapter 9: Availability and reliability targetsThis chapter assumes you know how to read short Python snippets and understand client-server systems. It also assumes you know the idea of a measurable target from the previous chapter (SLIs and SLOs).2 min read
10Chapter 10: Scalability requirementsThis chapter assumes you can read short Python snippets and know the basics of client-server systems, databases and caching. It also assumes you have read the chapter on performance requirements, so latency, throughput and percentiles should already be familiar.2 min read
11Chapter 11: Consistency and durability requirementsThis chapter assumes you know what a replica is, how a database write reaches disk, and how to read short Python snippets. It also assumes you have seen the earlier chapters on non-functional requirements and measurable targets.3 min read
12Chapter 12: Security and compliance requirementsThis chapter assumes you can tell functional requirements from non-functional ones. It also assumes you know how SLIs and SLOs make a quality target measurable. Security and compliance are non-functional requirements, so they need the same treatment as latency or availability. A requirement such as 2 min read
13Chapter 13: Maintainability and operability requirementsThis chapter assumes you can write measurable non-functional requirements (NFRs) with SLIs and SLOs, and that you know what a deploy, a log and an alert are. Maintainability and operability are the qualities that decide how much it costs to keep a system running and changing after launch.2 min read
14Chapter 14: Estimating load and storage from requirementsThis chapter assumes you can read short Python snippets. It also assumes you know what a request, a database and a cache are. Earlier chapters showed how to write measurable targets. Here you turn user numbers and usage assumptions into request rates and storage sizes. Those sizes tell you whether o2 min read
15Chapter 15: Trade-offs between competing requirementsThis chapter assumes you can write measurable non-functional requirements (SLIs, SLOs and percentiles) and read short Python snippets. You should also know the basics of databases and caching.2 min read
16Chapter 16: How requirements drive architecture decisionsThis chapter assumes you can write measurable non-functional requirements (NFRs) and estimate load. It shows how those numbers lead to concrete design choices. Functional requirements (FRs) tell you which components must exist. NFRs tell you how those components must be built.2 min read
17Chapter 17: Validating and testing requirementsThis chapter assumes you can tell functional from non-functional requirements, and that you know what an SLI, an SLO and a percentile are. It shows how to check a requirements set before design starts, then applies the checks to a URL shortener.2 min read
18Chapter 18: Common mistakes and how to avoid themThis chapter assumes you have read the earlier chapters. You should know the difference between functional and non-functional requirements. You should also know what SLIs and SLOs are, and you should be able to read short Python snippets.2 min read