← All cheatsheets

Databases & Data

Consistency Models, From Strong to Eventual

What each consistency guarantee actually promises — linearizable, sequential, causal, read-your-writes, eventual — and the latency/availability you trade for it. Under a partition, CAP forces you to pick consistency or availability.

Updated August 30, 2026 · 5 min read

The models, strongest first

Linearizable (strong)Every read sees the latest committed write; behaves like one copy.Cost: cross-replica coordination → latency, and unavailability under partition.
SequentialAll clients see operations in one consistent order — not necessarily real time.
CausalCausally-related operations are seen in order; concurrent ones may differ.The usual sweet spot for collaborative apps.
Read-your-writesYou always see your own writes, even if others lag.
Monotonic readsOnce you’ve seen a value, you never see an older one.
EventualReplicas converge if writes stop; no ordering guarantee meanwhile.Cheapest, most available; fine for like-counts, not balances.

The framing laws

CAPUnder a network partition, choose Consistency or Availability — you can’t keep both.
PACELCElse (no partition), you still trade Latency vs Consistency.
Quorum (R + W > N)Guarantees a read overlaps the latest write across N replicas.

In the interview

  • Attach the model to the data, not the system: balances need read-your-writes or stronger; a feed tolerates eventual. Say which per entity.
  • “Strong consistency” is not free — name the cost you’re accepting: higher write latency and reduced availability when a replica is unreachable.
  • Quorums (R + W > N) are how you tune the knob between the two without going fully strong or fully eventual.