Cloudflare explains its choice of QuePaxa consensus algorithm for Meerkat
Cloudflare has announced Meerkat, an experimental distributed consensus service for its internal global control plane[1]. It is built on QuePaxa, a consensus algorithm[2] published in 2023 by researchers Tennage & Băsescu et al. The article explains why Cloudflare chose this unusual algorithm instead of common ones such as Raft, Multi-Paxos or Viewstamped Replication.
Common algorithms depend on a single leader. If the leader fails, slows down or loses its connection, the system slows down or becomes unavailable until a new leader is chosen. Meerkat runs over the Internet across continents, where latency varies widely, so Cloudflare needed an algorithm that tolerates these conditions. In 2020, a partial failure of a core network switch slowed a consensus-powered dashboard 80x for six hours and blocked writes, although no data was lost.
The article describes destructive interference[3], in which competing proposers block each other in Paxos, and says Raft leader elections can suffer the same problem. A short network outage can trigger elections that keep failing for much longer, a pattern called a metastable failure[4]. QuePaxa is presented as an algorithm that makes progress without relying on a leader, which the article says gives it better stability despite network volatility.
Read the original blog.cloudflare.comDiscussion
Sources
-
Cloudflare Blog
How Cloudflare uses QuePaxa—a leaderless, fault-detection-free consensus algorithm—for its global control plane
-
KRGeekNews KO
Cloudflare가 Raft 대신 QuePaxa를 선택한 이유



