Distributed systems and performance

The foundations chapter. Everything else in the book is an application of what is here: the latency ladder that makes every architecture decision a placement decision, the two formulas (Little's Law and the queueing multiplier) that turn capacity questions from intuition into arithmetic, the consensus protocols that run underneath etcd and Spanner and Kafka's KRaft, and the consistency vocabulary that candidates most often use imprecisely.

The depth signal in this area is not reciting Raft. It is knowing when you do not need consensus at all. Cassandra, Dynamo and S3 reach enormous scale by keeping consensus off the data path and using it only for metadata, leadership and configuration.

What this chapter covers

Source: §5.1, §40.