01Chapter 1: Latency, throughput and concurrency: what each one measuresEvery target you set later in this tutorial is built from three quantities: latency, throughput and concurrency. Teams often mix them up. A statement like "the system must be fast" can mean any of the three, and each one leads to different design choices. This chapter defines each quantity, shows ho8 min read
02Chapter 2: Starting from user and business requirementsA latency or throughput target is a decision made on behalf of users and the business. If you pick numbers first, you tend to optimize things nobody cares about, or promise things nobody asked for. This chapter shows how to start from requirements and end with draft targets you can defend.8 min read
03Chapter 3: Why percentiles beat averagesLatency targets only work if the number you set describes what users experience. The average (mean) latency often fails at that. This chapter explains why, shows how to compute and combine percentiles correctly, and covers the mistakes that make percentile dashboards misleading.8 min read
04Chapter 4: Estimating load: average, peak and headroomYou should know the client-server request/response model and the usual backend components: load balancers, services and databases. You should also be comfortable with simple Python and with arithmetic on rates and durations. The previous chapters covered percentiles and how product requirements beco6 min read
05Chapter 5: Little's law: connecting concurrency, latency and throughputThis chapter assumes you know what latency, throughput and concurrency measure, and that you can read short Python programs. It also assumes you are comfortable with percentiles and with estimating average and peak request rates. Little's law ties three of those quantities together. You will use it 7 min read
06Chapter 6: Splitting a latency budget across the request pathThis chapter assumes you can read simple Python, know the usual backend components (load balancer, gateway, service, database), and have seen latency percentiles such as p50 and p99. You should also know what an end-to-end target looks like, for example "99% of requests finish within 300 ms."8 min read
07Chapter 7: Writing targets as SLIs, SLOs and SLAsThis chapter assumes you know what latency, throughput and percentiles are, and that you can read simple Python. You should also be comfortable with how a request moves through a load balancer, a service and a database. Earlier chapters showed how to turn product needs into numbers. Here you will wr7 min read
08Chapter 8: Error budgets: how much a target allows to failThis chapter assumes you know what an SLI and an SLO are, as covered in the previous chapter. You should also be comfortable with percentages and with the Python used in earlier chapters. An SLO states how good the service should be. The error budget states how much badness that SLO still permits, a8 min read
09Chapter 9: Fan-out and tail latency amplificationThis chapter assumes you have read the chapters on percentiles and on latency budgets. You should be comfortable with p50, p99, and the idea that an end-to-end target is split across components. You also need basic Python and probability arithmetic: multiplying independent probabilities and raising 7 min read
10Chapter 10: Utilization and queueing: why latency rises near saturationThis chapter assumes you know the earlier ideas in this tutorial: latency, throughput, concurrency, percentiles, and Little's law (in-flight requests = arrival rate × time in system). You should also be able to read short Python programs.8 min read
11Chapter 11: Trading latency against throughput: batching, concurrency limits and backpressureThis chapter assumes you know the basics of client-server request/response, common backend components (load balancers, services, databases), and can read short Python programs. It also assumes you have seen Little's law and the idea that latency rises as utilization approaches saturation, which earl7 min read