Every Copy Is a Chance to Be Wrong

Distributed systems force you to pick: when a network partition splits your replicas, do you keep accepting writes (and risk diverging state) or refuse them (and stay correct, at the cost of availability)? Twenty-five years of CAP and PACELC have refined the answer: different parts of your system want different consistency models, and the real skill is matching the model to the workload.

Below is the consistency map: the seven models you actually meet in production, what each one buys you, what they cost in latency and availability, and how to mix them in a single system without lying to your users.

If users see stale or conflicting data
  • You used "eventual consistency" as an excuse for a bug
  • You can't explain the difference between linearizable and serializable
  • You read your own write and saw the old value, and assumed the cache was broken
  • Your Cosmos DB account is set to "Strong" everywhere because "safer"

This is the consistency menu — what each model actually guarantees, what it costs, and how to match it to your workload.