01Chapter 1: Why estimate before you designThis chapter assumes you can do basic arithmetic with large numbers and exponents. It also assumes you know what a client, a server, a database, a cache and a load balancer do. Reading short Python snippets helps but is optional.3 min read
02Chapter 2: Stating assumptions and rounding to keep math simpleThis chapter assumes you are comfortable with powers of ten, basic client-server architecture, and what a database, cache and load balancer do. Reading simple Python helps but is optional.3 min read
03Chapter 3: Powers of two and data size unitsThis chapter assumes you can multiply and divide large numbers using exponents, and that you know a byte is 8 bits. It also assumes you have read the earlier chapters on why we estimate and how to round. The goal is to memorize one short table and learn when the small differences between unit system2 min read
04Chapter 4: Time conversions: seconds per day and per yearThis chapter assumes you can work with powers of ten and have read the chapters on stating assumptions and on powers of two. Almost every traffic and storage estimate converts a number "per day" or "per year" into a rate "per second". That step needs a few time constants you can recall instantly.3 min read
05Chapter 5: Latency orders of magnitude: memory, SSD, network, diskThis chapter assumes you can do arithmetic with powers of ten and know what a cache, a database and a network round trip are. You do not need to memorize exact figures. You need the order of magnitude of each, because those orders decide which design is plausible.3 min read
06Chapter 6: From daily active users to queries per secondThis chapter assumes you can do arithmetic with large numbers and exponents, and that you know what a client, a server and a load balancer do. You should also have the 86,400-second day from the previous chapter in mind. Reading simple Python helps but is optional.3 min read
07Chapter 7: Peak load versus average loadThis chapter assumes you can convert daily active users (DAU) into average queries per second (QPS) and that you know a day has about 86,400 seconds. If not, review the traffic estimation chapter first.3 min read
08Chapter 8: Estimating storage over a retention periodThis chapter assumes you can do arithmetic with powers of ten, know the data size units from the earlier chapter on powers of two, and can read short Python snippets. It also assumes you already have a write rate from the traffic chapters.3 min read
09Chapter 9: Estimating ingress and egress bandwidthThis chapter assumes you can convert daily active users (DAU) into queries per second (QPS), including peak versus average load, and that you can estimate record sizes. Here you turn request rates and payload sizes into network bandwidth.3 min read
10Chapter 10: Sizing a cache and working set in memoryThis chapter assumes you can convert daily active users (DAU) to queries per second (QPS), estimate storage from record size, and read simple Python. It also assumes you know what a cache is: a fast memory store placed in front of a slower database.2 min read
11Chapter 11: How many servers do you needThis chapter assumes you can convert daily active users into queries per second (QPS) and tell peak load from average load. It also assumes you know what a load balancer does. Here you turn a peak QPS figure into a server count.3 min read
12Chapter 12: Availability targets and allowed downtimeThis chapter assumes you know how to convert time units (seconds per day, days per year) and have a rough idea of what a load balancer and a replicated server do. You will turn an availability target into a downtime budget, and then use that budget to judge a design.3 min read
13Chapter 13: Worked example: estimating a URL shortenerThis chapter chains the techniques from earlier chapters into one estimate. It assumes you can convert DAU to QPS, apply a peak factor, and multiply record size by retention. The system is a URL shortener. A user submits a long URL and gets a short code. Anyone who visits the short link is redirecte2 min read
14Chapter 14: Sanity checks and common pitfallsThis chapter assumes you can convert daily active users (DAU) to queries per second (QPS), estimate storage over a retention period, and read short Python snippets. It covers how to check an estimate before it drives a design, and the mistakes that most often break one.3 min read