ACID vs BASE Trade-offs
ACID and BASE are two paradigms describing how databases handle concurrent operations and consistency. Understanding both is essential for choosing the right database — and for designing operations within whichever database you’ve picked.
ACID: The Classic Guarantees
ACID describes what relational databases (and now many NewSQL systems) promise for transactions.
The cost of ACID
Strong guarantees come at a price:
- Locking and coordination — concurrent transactions must serialize where they conflict.
- Single-master writes in many implementations — limits horizontal write scaling.
- Slower than asynchronous alternatives — durability requires fsync; isolation requires locks.
For some workloads, this is a fair price. For others, it’s the wrong trade-off.
Those costs show up as concrete ceilings on a single primary. Trouble often starts somewhere between 100 GB and 1 TB, above roughly 10,000 requests per second, on tables of 10-100 million rows, or past a few hundred to a thousand concurrent connections. Buying the next machine size is a weak answer: doubling cores from 32 to 64 can about double the bill, on the order of $10,000 per month in a typical cloud shape, for about 1.4x more throughput. That is the wall BASE was built to walk around.
BASE: The Distributed-System Alternative
BASE emerged as the alternative for systems that prioritize availability and scale over strict transactional integrity.
BASE accepts temporary inconsistency in exchange for availability and horizontal scalability. It’s the natural model for distributed systems where strict ACID would require painful coordination.
BASE can loosen any of the four ACID properties. Atomicity becomes best-effort: eight of ten writes land and the caller reconciles the rest. Consistency allows a short broken invariant, such as balances that do not yet sum. Isolation allows concurrent operations to observe each other. Durability can accept loss, which is what an in-memory cache already does. The philosophy showed up around 2008 from systems at Amazon and eBay: during a partition, CAP says you give up either a consistent answer or an available one, and BASE keeps the available one.
ACID’s “consistent” and a distributed system’s “consistent” are different claims. The ACID word means invariants: the database enforces explicit constraints, and implicit business rules hold only if the transaction was written to preserve them. The distributed word means how soon a write is visible on other nodes.
That second axis is a spectrum:
- Linearizability. One logical copy. Once a write completes, a later read returns that value or a newer one. It is a recency guarantee plus an atomic order.
- Sequential consistency. Every node sees one order, and each client’s own calls stay in program order. There is no real-time bound, so a node may observe that order late.
- Causal consistency. If A happens-before B, every node that sees B has already seen A. Operations with no causal link may appear in different orders on different nodes.
- Eventual consistency. If updates stop, every read eventually returns the last value. The model states neither a deadline nor which older value you may see meanwhile.
DynamoDB and Spanner sit on this spectrum per call: a strongly consistent read when the invariant needs it, an eventual read when it does not.
ACID vs. BASE Side by Side
When the Choice Matters
The key question is what business invariants must hold.
Modern Systems Blend Both
Real production systems don’t pick one paradigm. They use ACID where it matters and BASE where it doesn’t, often in the same product.
Patterns for blending
Sagas: ACID-like Workflows in BASE Systems
When a business operation spans multiple services (each with its own database), you can’t use a single ACID transaction. The saga pattern chains local transactions with compensating actions.
1. Reserve inventory (ACID inside Inventory Service)
2. Charge payment (ACID inside Payment Service)
3. Schedule delivery (ACID inside Shipping Service)
Failure at step 3?
→ Compensate step 2: refund payment
→ Compensate step 1: release inventory
The result: business consistency through a sequence of local ACID transactions plus compensations, instead of one impossible distributed transaction. We covered this in EDA, CQRS & Sagas.
Recap
- ACID = Atomicity, Consistency, Isolation, Durability. The classic transactional guarantees.
- BASE = Basically Available, Soft state, Eventual consistency. The distributed-systems alternative.
- ACID is right when correctness matters more than availability. BASE is right when availability matters more than instant consistency.
- Modern systems blend both — ACID for hard invariants, BASE for everything else.
- Tunable consistency, async writes, read-your-own-writes, and sagas are the practical blending patterns.