Cloudflare Adopts QuePaxa, a Leaderless Consensus Algorithm
Cloudflare adopted QuePaxa inside Meerkat, a leaderless consensus algorithm running across nearly all continents that never stalled even when leaders crashed.
By Dillip Chowdary • Dec 06, 2026 • Source: InfoQ

At a glance
- Product
- QuePaxa leaderless consensus algorithm
- Deployment
- Meerkat experimental distributed consensus service
- Engineers
- João Pedro Leite, Bob Halley, James Larisch (Cloudflare)
- Coverage
- Servers spanning nearly all continents
- Research paper
- Available on ACM
- Published
- December 5, 2026
In this post
Cloudflare has adopted QuePaxa, a novel consensus algorithm that abandons the conventional reliance on a stable leader node to coordinate distributed agreement. According to InfoQ's report, the company is deploying it inside Meerkat, an experimental distributed consensus service built to improve coordination across geographically distributed infrastructure. The move is unusual; most consensus systems use well-established algorithms like Raft, Multi-Paxos, or Viewstamped Replication.
This article covers how QuePaxa differs from those established approaches, how its four-phase round mechanism functions, what Cloudflare measured in real deployments spanning nearly all continents, what engineers elsewhere are saying about the design trade-offs, and where the underlying research lives.
01Raft, Paxos, and wide-area network limits
Traditional consensus algorithms — Raft, Multi-Paxos, and Viewstamped Replication — are well understood, have mature implementations, and usually work well. João Pedro Leite, research engineer at Cloudflare, Bob Halley, principal research engineer, and James Larisch, research engineer, describe the limitation directly: these algorithms often suffer in wide-area networks with volatile network connectivity and latency. That description fits the internet, which is exactly where Meerkat runs.
Consensus algorithms solve a specific coordination problem: they allow a group of machines to agree on a shared value even when some machines fail or become disconnected, ensuring that no machines make conflicting decisions. This is fundamental infrastructure for any distributed service that needs consistent state across multiple nodes in different locations.
The core failure mode in leader-dependent algorithms is that leader failures, slow leaders, or delayed failure detection can halt progress until a new leader completes election. In a global network with variable latency, distinguishing a slow leader from a dead one is not straightforward, and the detection window itself can produce outages.
02Four-phase round structure and majority thresholds
QuePaxa operates in four phases per round. At each phase, proposers send their current proposals to all recorders and advance only after receiving replies from a majority. They progressively adopt and spread the highest-priority proposals, then check whether there is sufficient agreement to decide on a value.
If no decision is reached after all four phases, the best-known proposal carries forward into the next round rather than being discarded. This design ensures that work done in a failed round is not wasted — the system builds toward consensus incrementally across rounds, trading some throughput in adverse conditions for continued availability.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
03Meerkat deployment across continents
Leite, Halley, and Larisch describe results from Cloudflare's own evaluations of Meerkat, where servers spanned nearly all continents. The system continuously processed requests even when the leader crashed, disconnected, or became slow. The team reports that at no point did they observe it completely stall.
That zero-stall outcome is what the design targeted from the start. In a system distributed across continents, the round-trip cost of detecting a failure and electing a replacement can exceed several seconds in adverse network conditions, turning what should be a node failure into a service-wide pause.
Cloudflare deliberately tested in a near-global configuration to simulate exactly the conditions where common consensus algorithms struggle: volatile network paths, variable inter-continental latency, and Internet-scale connectivity that cannot be assumed to remain stable.
04Configurable timeout and leaderless proposal rights
QuePaxa does not wait for a formal leader failure signal before allowing other nodes to act. Any node can propose a value. A short, configurable timeout allows other nodes to take over proactively without waiting to detect a failure — the system does not need certainty about whether the leader is dead or merely slow.
Manas Maheshwari, senior software engineer at Apex, described the fundamental trade-off on LinkedIn: in a global network, slow and dead can look identical for long enough that the recovery logic becomes the outage. Falling back from one round trip to three without stopping is the right trade-off, with throughput as the cost rather than availability.
05ACM research paper and community questions
The research paper behind QuePaxa is available on ACM. On Reddit, the announcement drew questions about how Cloudflare prevents multiple nodes from simultaneously acting as proposers and introducing conflicts in the proposal process. User leros noted surprise that new foundational work in consensus algorithms was still emerging: "I figured we would have optimized this stuff 10-20 years ago."
Cloudflare's engineers frame QuePaxa as an unusual but deliberate choice, not a general replacement for Raft or Paxos. Those algorithms remain well-suited to environments with stable network conditions and predictable latency. QuePaxa targets the specific problem of wide-area networks where volatility is the norm and availability cannot be held hostage to leader recovery time.
Frequently asked questions
What is QuePaxa?
QuePaxa is a leaderless consensus algorithm that allows any node in a distributed system to propose a value, eliminating the dependency on a stable leader to make progress.
How does QuePaxa differ from Raft and Paxos?
Raft and Paxos require a leader to coordinate decisions, and a leader failure stalls the system during election. QuePaxa uses a configurable timeout and lets any node take over proactively, so availability does not depend on leader recovery.
Where is Cloudflare using QuePaxa?
Cloudflare is deploying QuePaxa inside Meerkat, an experimental distributed consensus service with servers spanning nearly all continents.
What happens when QuePaxa fails to reach a decision in a round?
The best-known proposal carries forward into the next round without being discarded, so work from a failed round is preserved and the system continues building toward consensus.
Where can I find the QuePaxa research paper?
The research paper behind QuePaxa is available on ACM.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement