Skip to content

3.3. Consistency Models

A consistency model is a contract about what a read is allowed to return in the presence of concurrent writes and replication. This is the most misunderstood topic in distributed systems, largely because the same word — “consistency” — means different things in CAP and in ACID. This chapter builds the spectrum rigorously, anomaly by anomaly: from linearizability (behaves like a single copy, at the highest coordination cost) down through causal and eventual consistency, with CAP and PACELC as the theorems that explain why you cannot simply have it all.