Quorum Arithmetic
For a cluster of N replicas, choose W writes and R reads such that:
W + R > N → strong consistency (quorum overlap guaranteed)
W + R ≤ N → eventual consistency (no guaranteed overlap)
Example with N=3:
- W=2, R=2: strong (2+2=4 > 3) — tolerates 1 failure
- W=1, R=1: eventual — lowest latency, highest availability
- W=3, R=1: strong reads, slow writes — good for read-heavy workloads
Latency is dominated by the slowest response in the quorum.