CAP is a bumper sticker. Use PACELC.
Every engineer can recite the CAP theorem: "Consistency, Availability, Partition tolerance — pick two." It's the most quoted result in distributed systems, and quoted that way, it's nearly useless — sometimes actively misleading. Let's fix what it actually says, then upgrade to the version that helps you make real decisions.
What CAP actually says
First, define the P. A network partition is when machines that should talk to each other can't — a cable cut, a router failure, a misconfiguration splitting your cluster into islands that each work fine internally but can't reach each other.
Now here's the part "pick two" gets wrong: you don't get to pick whether partitions happen. Networks fail; that's physics and Murphy, not a menu option. So "CA" — a distributed system that opts out of partitions — is not a real choice. The theorem's actual content is narrower: during a partition, a node cut off from its peers faces exactly two options when a request arrives:
- Refuse to answer ("I can't verify my data is current, so I won't risk lying") — you stayed consistent, sacrificing availability. Errors instead of stale data.
- Answer from local state ("here's the best I have, it might be stale") — you stayed available, sacrificing consistency. Answers instead of errors, but maybe old ones.
That's the whole theorem: which failure mode you prefer during a rare network event. True — and it says nothing about the other 99.9% of the time, when the network is healthy and you're still making design tradeoffs every millisecond.
PACELC: the version with the useful half
PACELC reads: "if Partition, choose Availability or Consistency; Else, choose Latency or Consistency." The first half is CAP. The second half is where you actually live.
Why is there a tradeoff even with a perfect network? Because making a write visible everywhere requires talking to other nodes, and talking takes time. Want a write acknowledged only after three replicas across two regions confirm it? That's cross-region round trips — Tier 0's 180 ms — on every write, forever. Want writes fast? Acknowledge after one node and replicate in the background — and accept a window where a read elsewhere sees old data. Consistency costs latency always, not just during outages. Every distributed system quietly sits somewhere on that dial:
| Cassandra (default) | PA / EL |
| DynamoDB (eventual) | PA / EL |
| MongoDB | PA / EC |
| HBase, Spanner | PC / EC |
| Postgres single node | not distributed |
(Read "PA/EL" as: during partitions stays available; normally, favours latency. "PC/EC": refuses requests during partitions; normally, favours consistency.)
The real skill: choose per operation, not per system
Here's what separates a lived answer from a memorised one. Look inside a single ordinary product:
- A payment balance — must be strongly consistent. Showing stale money creates real overdrafts. Worth paying latency for.
- A like count — eventual consistency is completely fine. Off by three for ten seconds, nobody's life changes. Optimise for speed.
- A user's own profile edit — needs read-your-writes (they must see their own change immediately), but other people seeing it a second late is invisible.
Three different consistency requirements, one application. Systems don't have consistency needs; operations do. Name them one by one.
Saying "we chose AP" as if it were a personality trait. The follow-up that exposes it is always: which operation, and what exactly does the user see when the data is stale? If you can't answer concretely — "the like count may lag ~5 seconds; balances never lag because those reads go to the leader" — you've quoted a theorem, not made a decision.
The nuance
“CAP says pick two.”
CAP is a proof about one specific pairing — linearizable consistency and total availability, during a network partition. It says nothing about the many weaker consistency models that are perfectly available, nothing about behaviour when there is no partition, and "pick two of three" implies a menu the theorem does not offer. PACELC exists because the interesting tradeoff happens the other 99.9% of the time.
Going deeper
- CAP Twelve Years Later: How the "Rules" Have Changed Eric Brewer, 2012
Brewer revisiting his own theorem and objecting to most of what was built on it. - Harvest, Yield, and Scalable Tolerant Systems Fox & Brewer, 1999
The more useful framing that CAP overshadowed: degrade the completeness of an answer rather than failing it.