Quorum (N/R/W) Explorer

Dial the replica count and the read/write quorum sizes and see at a glance whether reads are guaranteed strongly consistent (R + W > N), how many node failures you can survive, and where you land on the latency–availability spectrum. The tunable-consistency intuition, made tactile.

Presets

write set (W=3) read set (R=3) overlap

R + W = 6 > N = 5 → strongly consistent reads. Every read overlaps the latest write.
StrongConsistency
2Write failures survivedN − W
2Read failures survivedN − R

Balanced strong consistency (majority quorums).

How it works

  • N = replicas, W = acks needed to write, R = replies needed to read.
  • R + W > N ⇒ read and write sets overlap ⇒ strongly consistent reads.
  • Writes tolerate N − W failures; reads tolerate N − R failures.
  • Bigger quorums = stronger guarantees but higher latency / lower availability.

Frequently asked questions

What do N, R and W mean in a quorum system?

N is the number of replicas a piece of data is stored on. W is the number of replicas that must acknowledge a write before it is considered successful. R is the number of replicas that must respond to a read. Tuning R and W lets you trade consistency against latency and availability.

Why does R + W > N guarantee strong consistency?

If the read set and the write set must each be a majority such that they overlap, then any read is guaranteed to touch at least one replica that saw the latest write. That overlap is exactly what R + W > N ensures, so reads never miss the most recent value.

What is the trade-off when tuning R and W?

Larger quorums mean stronger guarantees but higher latency and lower availability (more replicas must be reachable). Common presets: W=N, R=1 for fast reads; W=1, R=N for fast writes; and W=R=majority for balanced strong consistency.

How many node failures can a quorum survive?

Writes survive up to N − W replica failures and reads survive up to N − R failures while still completing. This tool shows both numbers as you adjust the sliders so you can see your fault tolerance directly.