02Chapter 2: Measuring a system: latency, throughput, and utilizationThis chapter assumes you know what a web server and a database do. It also assumes you know that CPU, memory, disk, and network are the resources a server uses. You need numbers before you can decide whether to scale up or out, so this chapter covers the three basic measurements.3 min read
03Chapter 3: Finding the bottleneck before you scaleThis chapter assumes you know what latency, throughput, and utilization mean, and that you can name the four basic server resources: CPU, memory, disk, and network. If those terms are new, read the previous chapter first.3 min read
04Chapter 4: Vertical scaling: a bigger machineYou know what a client-server web application is. You know the four basic server resources: CPU, memory, disk, and network. You have a rough idea of what a web server and a database do. The previous chapters covered capacity, load, the three core metrics (latency, throughput, utilization), and how t4 min read
05Chapter 5: Horizontal scaling: more machinesThis chapter assumes you know how a client talks to a web server, what CPU, memory, disk, and network limits look like, and what a database does. You should also know what a bottleneck is from the earlier chapters.3 min read
06Chapter 6: Spreading requests with a load balancerThis chapter assumes you know what a client, a web server, and a health check are. It also assumes you have read the previous chapter on horizontal scaling. Adding servers only helps if something sends each request to one of them. That component is the load balancer.3 min read
07Chapter 7: Keeping application servers statelessThis chapter assumes you know how a web application talks to a database, what an HTTP request and a cookie are, and why a load balancer sits in front of several servers. It covers what "stateless" means, why horizontal scaling depends on it, and how to remove state from application servers.4 min read
08Chapter 8: Scaling the data tier: replicas and shardingThis chapter assumes you know what a relational database does, how a web tier talks to it, and the idea of stateless application servers from the previous chapter. It covers the main techniques for scaling a database: vertical scaling, read replicas, caching, and sharding.4 min read
09Chapter 9: Where scaling stops: hardware ceilings and Amdahl's lawThis chapter assumes you know the difference between vertical scaling (a bigger machine) and horizontal scaling (more machines). It also assumes you can read basic Python. Both approaches eventually stop paying off. Knowing where and why lets you plan before you hit the wall.3 min read
10Chapter 10: Trade-offs: availability, cost, and complexityThis chapter assumes you know the difference between vertical scaling (a bigger machine) and horizontal scaling (more machines). It also assumes you know what a load balancer does and why application servers should be stateless. The goal here is to compare the two approaches on three dimensions: how3 min read
11Chapter 11: Autoscaling based on loadThis chapter assumes you know the difference between vertical and horizontal scaling. It also assumes you know what a load balancer does and why application servers should be stateless. Autoscaling builds on all three.3 min read
12Chapter 12: Choosing a strategy for your workloadThis chapter assumes you know the earlier material in this tutorial: latency, throughput and utilization, vertical and horizontal scaling, load balancing, stateless design, read replicas and sharding, and Amdahl's law. It pulls those pieces into one decision process.3 min read