Try
↑ ↓ move↵ openesc close
Quorums7 / 7
In this lesson · topic 7 of 7
  1. 1. What if there is no leader
  2. 2. Overlap, and the k-th fastest reply
  3. 3. Tune R and W against slow and dead replicas
  4. 4. What R plus W above N still does not promise
  5. 5. Two writes at once, and which one wins
  6. 6. Merkle trees, expiring hints, and deleted data coming back
  7. 7. Check the quorum arithmetic

Topic 7

Check the quorum arithmetic

4 min read

Predict first

Seven replicas. Which setting guarantees that a read sees every acknowledged write, assuming strict quorums?

Predict first

Five replicas, two of them much slower than the rest. You choose W=3. Does a write wait for the slow replicas?

Predict first

A store switches from strict to sloppy quorums. What does it gain, and what does it give up?

Take away

  • A write waits for W replicas and a read for R. If R plus W exceeds N, every read set overlaps every acknowledged write set.
  • Latency is the k-th fastest reply, and availability is the chance that at least k replicas are reachable.
  • Sloppy quorums and read repair trade freshness and effort for availability. A quorum is not a global order.

Sources

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms