liveBook · Manning

Quorum

As explained in Latency

A quorum is a majority subset of nodes whose agreement is sufficient for a distributed operation to complete.

A quorum is a majority subset of nodes whose agreement lets a distributed operation complete. For a cluster of N nodes, the quorum is (N/2) + 1. section 2.4

Quorums determine both agreement and response latency:

  • A three-node cluster requires two agreeing nodes; a five-node cluster requires three. section 2.4
  • Consensus algorithms such as Raft, Paxos, and Viewstamped Replication use majority agreement to replicate a state machine with strong consistency. section 2.4
  • Quorum compounding waits for a majority rather than every parallel component, but latency variability and tail latency still matter. section 2.4

Three-node cluster

When three nodes process an operation in parallel, completion requires responses from any two nodes. The slowest node does not determine completion unless it is needed to reach the majority. section 2.4

How Latency covers it

How deep it goes
Defines the majority formula and latency consequence without detailing consensus protocol internals.
Examples
Uses three-node and five-node clusters plus Raft, Paxos, and Viewstamped Replication.
What you can do after
Apply it via Raft, Paxos, or Viewstamped Replication to reason about majority completion and latency.
How it connects
Connects quorum to consensus algorithms, state-machine replication, parallel compounding, and tail latency.

Also explained in

Compare how 5 books explain quorum →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Latency. The section links point to the parts of the book it draws on.