{"id":813864,"date":"2026-12-05T22:37:23","date_gmt":"2026-12-05T22:37:23","guid":{"rendered":"https:\/\/www.europesays.com\/ie\/813864\/"},"modified":"2026-12-05T22:37:23","modified_gmt":"2026-12-05T22:37:23","slug":"cloudflare-adopts-quepaxa-a-leaderless-consensus-algorithm","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ie\/813864\/","title":{"rendered":"Cloudflare Adopts QuePaxa, a Leaderless Consensus Algorithm"},"content":{"rendered":"<p>Cloudflare has introduced QuePaxa, a novel consensus algorithm designed to maintain progress without relying on a stable leader. Unlike traditional leader-based approaches, <a href=\"https:\/\/blog.cloudflare.com\/choosing-quepaxa\/\" rel=\"nofollow noopener\" target=\"_blank\">QuePaxa allows nodes to make progress despite leader failures<\/a>, potentially reducing delays caused by leader election and recovery.<\/p>\n<p><a href=\"https:\/\/www.infoq.com\/news\/2026\/08\/cloudflare-meerkat-consensus\/\" rel=\"nofollow noopener\" target=\"_blank\">As previously reported by InfoQ<\/a>, Cloudflare is using it in Meerkat, an experimental distributed consensus service intended to improve coordination across geographically distributed infrastructure. <a href=\"https:\/\/research.cloudflare.com\/people\/joao-leite\/\" rel=\"nofollow noopener\" target=\"_blank\"> Jo\u00e3o Pedro Leite<\/a>, research engineer at Cloudflare, <a href=\"https:\/\/www.linkedin.com\/in\/robert-halley-635ab7152\/\" rel=\"nofollow noopener\" target=\"_blank\">Bob Halley<\/a>, principal research engineer at Cloudflare, and<a href=\"https:\/\/www.linkedin.com\/in\/jameslarisch\/\" rel=\"nofollow noopener\" target=\"_blank\"> James Larisch<\/a>, research engineer at Cloudflare, acknowledge:<\/p>\n<blockquote><p>&#13;<\/p>\n<p>QuePaxa is an unusual choice; most consensus systems use well-established consensus algorithms like Raft, (Multi-)Paxos or Viewstamped Replication. These algorithms are well understood, have mature implementations, and usually work well. Unfortunately, common consensus algorithms often suffer in wide-area networks with volatile network connectivity and latency, i.e., networks like the Internet, which is where Meerkat runs.<\/p>\n<p>&#13;\n<\/p><\/blockquote>\n<p><a href=\"https:\/\/www.infoq.com\/presentations\/future-distributed-consensus\/\" rel=\"nofollow noopener\" target=\"_blank\">Consensus algorithms<\/a> enable 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.<\/p>\n<p><img decoding=\"async\" alt=\"Phase and round progression\" class=\"zoom-image\" src=\"https:\/\/www.infoq.com\/news\/2026\/12\/quepaxa-consensus-algorithm\/news\/2026\/12\/quepaxa-consensus-algorithm\/en\/resources\/101M742V4V70RZ0GWP04ZEPQQAS-1794930612028.jpg\" style=\"width: 1468px; height: 1538px;\" rel=\"share\"\/><\/p>\n<p>Source: Cloudflare blog<\/p>\n<p>QuePaxa operates in four phases per round. At each phase, proposers send their current proposals to all recorders and advance 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, they carry the best-known proposal into the next round. Leite, Halley, and Larisch add:<\/p>\n<blockquote><p>&#13;<\/p>\n<p>In our own evaluations of Meerkat, where we had servers spanning nearly all continents, we\u2019ve directly experienced the impact that QuePaxa has on the overall performance and availability of the system. Meerkat continuously processes requests, even when the leader crashes, disconnects, or just becomes slow. At no point have we ever seen it completely stall. This is exactly what we wanted.<\/p>\n<p>&#13;\n<\/p><\/blockquote>\n<p><img decoding=\"async\" alt=\"Relative decision rate\" class=\"zoom-image\" src=\"https:\/\/www.infoq.com\/news\/2026\/12\/quepaxa-consensus-algorithm\/news\/2026\/12\/quepaxa-consensus-algorithm\/en\/resources\/101M73MN2G9VJ180TS373QNGVJJ-1794930612028.jpg\" style=\"width: 1999px; height: 1150px;\" rel=\"share\"\/><\/p>\n<p>Source: Cloudflare blog<\/p>\n<p>Unlike traditional consensus algorithms, QuePaxa does not depend on a functioning leader to make progress. Any node can propose a value, and a short, configurable timeout allows other nodes to take over proactively without waiting to detect a leader failure. Manas Maheshwari, senior software engineer at Apex, <a href=\"https:\/\/lnkd.in\/p\/dQVgAsUZ\" rel=\"nofollow noopener\" target=\"_blank\">comments<\/a> on LinkedIn:<\/p>\n<blockquote><p>&#13;<\/p>\n<p>I think the real win here isn\u2019t being leaderless for its own sake. It\u2019s that a bad guess about failure costs throughput instead of availability. 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 feels like the right trade.<\/p>\n<p>&#13;\n<\/p><\/blockquote>\n<p><a href=\"https:\/\/www.reddit.com\/r\/programming\/comments\/1xuv4ux\/how_cloudflare_uses_quepaxaa_leaderless\/\" rel=\"nofollow noopener\" target=\"_blank\">On Reddit<\/a>, some users ask how Cloudflare avoids having multiple leaders participating in proposals. User leros writes:<\/p>\n<blockquote><p>&#13;<\/p>\n<p>I&#8217;m surprised we keep coming out with new and improved core stuff like consensus algorithms. I figured we would have optimized this stuff 10-20 years ago.<\/p>\n<p>&#13;\n<\/p><\/blockquote>\n<p>QuePaxa offers an alternative to leader-based consensus for maintaining availability in geographically distributed systems. The <a href=\"https:\/\/dl.acm.org\/doi\/10.1145\/3600006.3613150\" rel=\"nofollow noopener\" target=\"_blank\">research paper<\/a> behind the consensus algorithm is available on ACM.<\/p>\n","protected":false},"excerpt":{"rendered":"Cloudflare has introduced QuePaxa, a novel consensus algorithm designed to maintain progress without relying on a stable leader.&hellip;\n","protected":false},"author":2,"featured_media":813865,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_share_on_mastodon":"0"},"categories":[267],"tags":[611,1705,365,362,363,364,1346,366,7266,30464,18,117,19795,19,6394,17,337670],"class_list":["post-813864","post","type-post","status-publish","format-standard","has-post-thumbnail","category-arts-and-design","tag-algorithms","tag-architecture-design","tag-arts","tag-arts-and-design","tag-artsanddesign","tag-artsdesign","tag-cloud-computing","tag-design","tag-development","tag-distributed-systems","tag-eire","tag-entertainment","tag-fault-tolerance","tag-ie","tag-infrastructure","tag-ireland","tag-quepaxa-consensus-algorithm"],"share_on_mastodon":{"url":"https:\/\/pubeurope.com\/@ie\/117736101800032864","error":""},"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/posts\/813864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/comments?post=813864"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/posts\/813864\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/media\/813865"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/media?parent=813864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/categories?post=813864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/tags?post=813864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}