The CAP theorem describes the choice only in an emergency — during a network partition. Daniel Abadi noticed that the trade-off is there in normal operation too: replicas that acknowledge writes synchronously respond more slowly, while a system that responds quickly serves data that is not quite fresh. PACELC captures both choices in a single formula.
How to read the formula
The theorem’s name is the formula itself, pronounced “pass-elk”. The first part, PAC, repeats CAP: on a partition (Partition) the system sacrifices availability (A) or consistency (C). The second part, ELC, describes normal operation: otherwise (Else) one chooses latency (Latency) or consistency (C). This second choice only faces systems with replicas: a single copy cannot diverge, but when a node fails the system is simply unavailable.
| Part of the formula | Situation | What is chosen |
|---|---|---|
| PA | network partition | availability: nodes answer with their local copies |
| PC | network partition | consistency: operations wait for a quorum or fail |
| EL | no partition | latency: a fast response, possibly from a stale copy |
| EC | no partition | consistency: wait for the replicas to acknowledge |
System examples
In his 2012 paper Abadi placed specific systems into different classes, judging by how their default settings behave. A class is not a verdict: configuration moves a system between classes, and the price is the latency of every request.
| System | With a partition | Without a partition |
|---|---|---|
| Dynamo, Cassandra, Riak | PA — availability | EL — low latency |
| VoltDB, Megastore, BigTable, HBase | PC — consistency | EC — consistency |
| MongoDB | PA — availability | EC — consistency |
| PNUTS | PC — consistency | EL — low latency |
Origin of the term
Daniel Abadi proposed the formula in the paper “Consistency Tradeoffs in Modern Distributed Database System Design”, published in the journal IEEE Computer in February 2012. The paper examined how faithfully the CAP letters describe systems and added to the theorem the everyday price of replication — latency.
Sources
the term is written from these pagesVerified 8 Nov