Menu
InfoQ Architecture·December 5, 2026

Cloudflare Adopts QuePaxa: A Leaderless Consensus Algorithm

Cloudflare introduced QuePaxa, a leaderless consensus algorithm designed to improve availability and performance in geographically distributed infrastructure. Traditional consensus protocols like Raft or Paxos often suffer in wide-area networks due to unstable network latency and leader failure recovery overhead. QuePaxa allows any node to propose values and avoids the availability bottlenecks of leader-based protocols.

Read original on InfoQ Architecture

Distributed consensus is a foundational building block for modern cloud infrastructure, allowing a group of machines to agree on a shared state even when individual nodes fail or network links drop. However, traditional protocols such as Raft, Multi-Paxos, and Viewstamped Replication rely heavily on a stable leader to coordinate state updates.

The Challenge of Leader-Based Consensus in Wide-Area Networks

In wide-area networks (WANs) spanning multiple continents, network latency and packet loss are unpredictable. When deployed globally, leader-based systems frequently struggle because distinguishing between a dead leader and a slow network link is notoriously difficult. The resulting timeouts, leader elections, and recovery phases can lead to significant latency spikes or temporary losses in system availability.

ℹ️

Key Trade-off

In volatile wide-area networks, traditional consensus trades availability for safety during leader elections, frequently causing system stalls when network partitions occur.

How QuePaxa Works

To overcome these wide-area limitations, Cloudflare developed QuePaxa, a leaderless consensus algorithm deployed within their experimental distributed consensus service, Meerkat. Instead of routing all proposals through a single designated leader, QuePaxa operates across four phases per round where any node can act as a proposer.

  • Multi-Proposer Flexibility: Any node can submit a proposal, eliminating single-node bottlenecks.
  • Progressive Adoption: Nodes collect proposals, spread the highest-priority options, and check for majority agreement across recorders.
  • Configurable Timeouts: Short timeouts allow nodes to take over proactively without waiting for complex failure detection cycles.
  • Graceful Degradation: A bad guess about node failure degrades throughput rather than completely sacrificing availability.
consensuspaxosraftdistributed-systemscloudflarehigh-availabilitywan

Comments

Loading comments...

Want the fundamentals behind stories like this? Take the free System Design Academy course with certificate.