01Chapter 1: Why replication creates consistency questionsThis chapter assumes you know how client-server systems communicate over a network, and that you have used a database or key-value store. You should be able to read short Python programs. No earlier chapter is required, because this is the first one.2 min read
02Chapter 2: A consistency model is a contract on historiesThis chapter assumes you know what replication is, have used a key-value store or database, and can read short Python. The goal is to define what a consistency model promises, so later chapters can compare models precisely.3 min read
03Chapter 3: Linearizability: behaving like a single copyThis chapter assumes you know what replication is, that a consistency model is a contract on histories, and that you can read short Python and timeline traces.2 min read
05Chapter 5: The CAP theorem: what it says and what it does notThis chapter assumes you know what replication is, and that you have met linearizability, which is the guarantee that a replicated register behaves like a single copy. It also assumes you can read short Python snippets.3 min read
06Chapter 6: PACELC: latency versus consistency when there is no partitionThis chapter assumes you know what replication is, the difference between linearizability and eventual consistency, and the CAP theorem from the previous chapter. You should also be able to read short Python snippets.2 min read
07Chapter 7: Eventual consistency and its anomaliesThis chapter assumes you know what replication is, that a consistency model is a contract on the histories a system may produce, and that you can read simple Python. Earlier chapters covered linearizability and sequential consistency. Here we look at the weakest widely used contract.2 min read
08Chapter 8: Quorums: tuning N, R and WThis chapter assumes you know what replication is, can read simple Python, and have met linearizability and eventual consistency in earlier chapters. It covers how quorum reads and writes trade consistency against latency and availability.2 min read
09Chapter 9: Ordering events: happens-before and vector clocksThis chapter assumes you know what replication is, have read a simple Python function, and understand that machines in a network do not share a clock. Consistency models such as causal consistency depend on knowing which events are ordered and which are not. Logical clocks give you that.2 min read
10Chapter 10: Causal consistencyThis chapter assumes you know what replication is, how linearizability and sequential consistency differ, and how happens-before and vector clocks work. It also assumes you can read simple Python.2 min read
11Chapter 11: Session guarantees: read-your-writes, monotonic reads and moreThis chapter assumes you know what replication and eventual consistency are, and that you can read simple Python. Session guarantees are small, cheap promises made to one client. They remove the most confusing anomalies of eventual consistency without requiring linearizability.2 min read
12Chapter 12: Resolving conflicts: last-write-wins and CRDTsThis chapter assumes you know what replication is, how eventual consistency allows replicas to diverge, and how vector clocks detect concurrent writes. You should be able to read short Python functions.2 min read
14Chapter 14: Serializability versus linearizabilityThis chapter assumes you know what linearizability is, what a replicated key-value store is, and what a database transaction is. It also assumes you can read short Python snippets. The two terms sound alike and are often confused. They answer different questions.2 min read
16Chapter 16: Choosing a consistency model for your workloadThis chapter assumes you know what replication is, how linearizability, causal and eventual consistency differ, how quorums work (R + W > N), and the basic CAP and PACELC trade-offs. It gives a way to pick a model for a real workload.2 min read