Independent hosting research · no paid rankings

Desk checked

Data Centers & Routes

We select QuePaxa, an unusual consensus algorithm.

Published: Last checked:

Meerkat adopts QuePaxa for global consensus availability despite latency, network faults, and competing proposers, unlike leader-based systems.

Cloudflare’s Meerkat is an experimental distributed consensus service designed to manage Cloudflare’s internal global control plane. Its most important design signal is not that it stores data, but that it chooses QuePaxa, a newer consensus algorithm published in 2023 by researchers Tennage & Băsescu et al., instead of relying on widely deployed leader-based systems such as Raft, Multi-Paxos, or Viewstamped Replication.

The core judgment is that Meerkat is trying to solve a different failure mode from most production consensus systems. Traditional consensus is strong when machines crash, but it can become slow or unavailable when the network itself misbehaves. That matters for Meerkat because it is intended to run across continents, over wide-area networks where latency is high and variable, and where faults may come from network paths rather than from Cloudflare’s own servers.

What Meerkat Is Designed to Do

Meerkat is a distributed system in which replicas agree on an ordered log of events. Each event is decided by a consensus algorithm. Consensus algorithms let a group of machines agree on a single shared truth even if some machines crash or disconnect. The key guarantee is safety: machines never decide conflicting values. In Meerkat, this means replicas’ logs never diverge.

On top of that shared log, Meerkat exposes application-level behavior such as a key-value store. Each log entry is a get or a put. Because the consensus layer prevents divergence, replicas can construct the same key-value state. Comparable consensus-powered systems include Consul, etcd, and Apache ZooKeeper.

The unusual part is deployment scale. A Meerkat cluster may be distributed across continents and connected by links that often show high and variable latency. That is not the typical environment for consensus systems, which are usually deployed in smaller, more local networks and often have strict latency requirements.

The 2020 Incident That Explains the Design Pressure

Cloudflare’s description of the problem is grounded in an operational incident from 2020. A partial failure of a core Cloudflare network switch caused a consensus-powered system to degrade, and the dashboard operated 80x slower than usual for six hours.

The important detail is what did not happen: the system lost no data. The safety property of consensus held. What failed was availability, specifically write availability, until the issue was resolved.

That incident illustrates the real-world tension for global control-plane systems. A consensus algorithm can remain correct while still becoming unusable for writes. For a system like Meerkat, that is unacceptable. Ideally, a consensus algorithm should make progress despite latency spikes and broken connections, not only despite replica failures.

Why Leader-Based Consensus Can Stall on the Internet

Most common consensus algorithms inherit ideas from Paxos, which Cloudflare describes as the grandfather of many consensus algorithms. In Paxos, there are proposers and acceptors. The goal is for a majority of acceptors to agree on a value proposed by some proposer. A proposer sends a ballot number in a Prepare phase, then sends the proposal with that ballot number in an Accept phase. If a majority of acceptors still hold the ballot number, they accept the proposal.

The problem is that multiple proposers can compete. One proposer can insert a higher ballot number between another proposer’s phases, blocking lower ballots. Two proposers can repeatedly block each other. When this happens, the system suffers destructive interference. More concurrent proposers make the problem worse. Even if no replicas crash, multiple proposers and a misbehaving network can block Paxos.

To avoid that, most deployed systems such as Raft, Multi-Paxos, and Viewstamped Replication use a single leader proposer. The leader is the only replica allowed to make proposals. This forces an order on concurrent requests, avoids competing proposals, and can make decisions in one network round-trip instead of two. When the leader is healthy and the network is predictable, leader-based consensus is fast.

The trade-off is dependence on the leader. If the leader fails, becomes slow, or is disconnected, the system stalls until the remaining replicas detect the failure and elect a new leader.

Leader Recovery Can Create Its Own Problem

Leader election is not a clean recovery path. In Raft, if a replica suspects the leader has failed, it becomes a candidate and requests votes from other replicas. If more than half of the replicas agree, it becomes the new leader. If no majority forms, another election happens.

Multiple replicas can become candidates at the same time. They may all try to acquire a majority vote simultaneously. This reintroduces destructive interference: candidates can block each other from winning. The more elections that fail, the more replicas may try to become leader.

This can create a metastable failure, where the failure pattern continues even after the original cause is removed. A two-second network outage, or a briefly faulty network switch, can make the leader appear failed. That can force an election, which can fail, which can force more elections. The original outage may last two seconds, but the election storm can last much longer.

Fault Detection Is the Hidden Weakness

Leader-based consensus depends on replicas detecting leader failure. In asynchronous networks, that detection is fundamentally difficult. A process cannot directly observe that a remote process has failed. It can only notice that an expected message has not arrived within the expected time.

Heartbeats and acknowledgements create a predictable pattern of communication. If a message is late, a replica may suspect a fault. But in real wide-area networks, messages do not always arrive when predicted. There is no guaranteed upper bound on message delivery time. Most messages may arrive on time, but sudden bursts of latency or connectivity loss can temporarily delay them.

If a server does not reply within a given amount of time, the network cannot clearly distinguish whether the server failed or the network is slow. Practical fault detectors must guess. If the guess is wrong, and a replica starts an election while the leader is actually healthy, the system stops making progress until the leader is replaced.

Even accurate fault detection is slow. A detector’s timeout cannot be lower than network latency. Raft is commonly deployed with an election timeout of five to ten times the network round-trip time. A round trip halfway across the world may be measured in hundreds of milliseconds. If the timeout is several round trips, detecting a failed coordinator can take around a second. Until the detector reacts, the system is down.

QuePaxa Is Chosen to Reduce Leader-Dependent Stalls

Cloudflare says it searched for consensus algorithms designed for asynchronous environments, protocols that did not rely on a well-behaved network. QuePaxa fits that requirement because it promises better stability despite volatility, largely by not relying on a leader to make progress.

In the Cloudflare description, QuePaxa sidesteps two major weaknesses of leader-based systems: destructive interference and fault detection. It avoids the situation where leader failure detection, or false failure detection, forces the whole system into an election that can stall progress.

That does not mean QuePaxa is proven superior in all environments. It means Meerkat’s environment makes the leader assumption uncomfortable. When consensus runs over the Internet, not just inside a data center, leader-based protocols can spend time recovering from network noise rather than serving requests.

Meerkat Versus Common Leader-Based Consensus

DimensionLeader-Based Consensus SystemsMeerkat with QuePaxa
Primary design environmentUsually smaller or more local networksGlobal wide-area deployment across continents
Progress modelOften depends on a single leader proposerPromises progress without relying on a leader
Best-case behaviorFast when leader is healthy and network is predictableDesigned for volatility, not just crash tolerance
Main failure riskLeader slowdown, leader loss, election stormsExperimental algorithm with less established production history
Network assumptionWorks well when latency is bounded or predictableBetter suited to asynchronous networks where latency is variable
Safety guaranteeMachines never decide conflicting valuesUses consensus to prevent log divergence, similar to Raft-style systems
Data modelOften replicated log and state machineOrdered log exposing key-value store with get and put
Comparable systemsConsul, etcd, Apache ZooKeeperMeerkat is compared to those systems, but designed for global scale

What This Means for Operators and Infrastructure Builders

The lesson is not simply that QuePaxa is better than Raft, Multi-Paxos, or Viewstamped Replication. Those systems are well understood and have mature implementations. The lesson is that consensus correctness is not the same as operational availability.

For a global control plane, the most dangerous failures may not be dead machines. They may be temporarily slow links, partial switch failures, or network partitions that make a healthy leader look dead. Leader-based systems handle that by stopping writes and electing a new leader. In a local network, that may be acceptable. Across continents, it can create long stalls.

Meerkat’s design suggests that when latency is variable and faults are often network-originated, the leader assumption becomes expensive. QuePaxa’s appeal is that it reduces dependence on leader liveness and accurate timeout detection.

Neutral Pros and Cons

Pros

  • Meerkat targets Cloudflare’s internal global control plane, where wide-area latency is expected.
  • QuePaxa is chosen for asynchronous environments and does not rely on a leader to make progress.
  • The design addresses a real operational failure mode: network degradation causing consensus slowdown or write unavailability.
  • The 2020 incident shows that data safety can hold while availability collapses, which is exactly the problem Meerkat is trying to avoid.

Cons

  • QuePaxa is described as an unusual choice compared with established consensus algorithms.
  • Meerkat is explicitly experimental, not a mature, widely deployed consensus platform in the source description.
  • The provided material does not include benchmarks, production results, performance numbers, or a full algorithmic specification.
  • Leader-based systems still offer clear advantages in predictable networks: mature implementations, simpler mental models, and optimal single-round-trip decisions when the leader is healthy.

Limitations of the Available Information

The source does not explain in detail how QuePaxa works internally. It does not provide latency figures, throughput comparisons, election behavior, message complexity, or long-term operational results from Meerkat. It also does not state that Meerkat has already replaced existing global control-plane systems.

Therefore, the safest interpretation is that Meerkat is a targeted research or experimental system built for a specific environment: Cloudflare’s global control plane, where leader-based consensus can suffer from destructive interference and fault-detection mistakes over asynchronous networks.

FAQ

Why did Cloudflare choose QuePaxa for Meerkat?

Because Meerkat is designed to run globally over wide-area networks, where latency is high and variable. Cloudflare says QuePaxa promises better stability despite volatility, largely by not relying on a leader to make progress.

Is Meerkat replacing Raft or Paxos?

The source does not say Meerkat replaces Raft or Paxos broadly. It says Meerkat is an experimental distributed consensus service for Cloudflare’s internal global control plane, powered by QuePaxa.

What failed in the 2020 incident?

A partial failure of a core Cloudflare network switch caused a consensus-powered system to degrade. The dashboard operated 80x slower than usual for six hours. No data was lost, but the system was unavailable for writes until the issue was resolved.

What is the biggest weakness of leader-based consensus?

It depends on a leader being available, reachable, and predictable in latency. If the leader is slow or appears failed, the system must stop and elect a new leader, which can introduce long delays or metastable failures.

Source Basis

This article is based on the provided Cloudflare announcement describing Meerkat, QuePaxa, and the limitations of leader-based consensus in wide-area networks. QuePaxa is attributed to researchers Tennage & Băsescu et al. and dated 2023.

Last updated: 2026-06-14

Spec tagsCloudflareMeerkatQuePaxadistributed consensusnetwork latency

Reader notes 0

  • No notes yet. Corrections and first-hand test results are welcome.