What the quorum needs and what it waits for
Spokes’ quorum only needs a majority to commit a write, but it waits for every healthy replica to respond (up to a timeout) before moving on, so slow replicas delay every write rather than falling behind. [1]
How one slow replica sets the pace
In practice, that means the slowest healthy replica sets the latency of every write, and because each write holds a repository-wide lock until it commits, it also sets the throughput ceiling. [2]
A repository already near its throughput ceiling can’t absorb that on every serialized write; it would fall further behind with every push. [3]
In our current architecture, a repository hosted in more than one region has a lower write throughput ceiling. [4]
The principle the post names
Specifically for this case: don’t serialize what doesn’t need to be. [5]
Sources
- The GitHub source says: Spokes’ quorum only needs a majority to commit a write, but it waits for every healthy replica to respond (up to a timeout) before moving on, so slow replicas delay every write rather than falling behind. The bridge to agent-scale Git infrastructure
- The GitHub source says: In practice, that means the slowest healthy replica sets the latency of every write, and because each write holds a repository-wide lock until it commits, it also sets the throughput ceiling. The bridge to agent-scale Git infrastructure
- The GitHub source says: A repository already near its throughput ceiling can’t absorb that on every serialized write; it would fall further behind with every push. The bridge to agent-scale Git infrastructure
- The GitHub source says: In our current architecture, a repository hosted in more than one region has a lower write throughput ceiling. The bridge to agent-scale Git infrastructure
- The GitHub source says: Specifically for this case: don’t serialize what doesn’t need to be. The bridge to agent-scale Git infrastructure