---
title: "Choosing QuePaxa, an unusual consensus algorithm"
description: "Cloudflare's Meerkat, a globally distributed consensus service for its internal control plane, uses QuePaxa instead of Raft or Multi-Paxos."
url: "https://swe.quest/articles/choosing-quepaxa-an-unusual-consensus-algorithm-8142736b7b34aaea"
canonical: "https://blog.cloudflare.com/choosing-quepaxa/"
source: "Cloudflare"
published: "2026-11-11"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 18
tags: ["consensus","distributed-systems","resilience","replication"]
---

# Choosing QuePaxa, an unusual consensus algorithm

A post on [Cloudflare](https://swe.quest/sources/cloudflare.md), published 2026-11-11, 18 min read, Deep dive. Original: [https://blog.cloudflare.com/choosing-quepaxa/](https://blog.cloudflare.com/choosing-quepaxa/)

## Summary

Cloudflare's Meerkat, a globally distributed consensus service for its internal control plane, uses QuePaxa instead of Raft or Multi-Paxos. Leader-based protocols stall over wide-area networks: mistaken or slow fault detection triggers leader elections, and competing candidates can interfere destructively and cause metastable failures. QuePaxa avoids this with an optional leader, no reliance on fault detection, and randomized priorities that make proposers converge on the highest-priority proposal. It still decides in one round trip through the leader in good conditions and degrades gracefully otherwise. Its hedging timeout is not fault detection, so it can be very small (e.g., 5ms on 100ms links) without freezing the system.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Consensus](https://swe.quest/tags/consensus.md) (Distributed systems)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)

## Prerequisites

- Paxos basics ([easy posts on Consensus](https://swe.quest/tags/consensus.md?difficulty=easy))
- Raft leader election ([easy posts on Consensus](https://swe.quest/tags/consensus.md?difficulty=easy))
- distributed consensus fundamentals ([easy posts on Consensus](https://swe.quest/tags/consensus.md?difficulty=easy))

## Keywords

QuePaxa, Meerkat, Raft, Paxos, Multi-Paxos, Viewstamped Replication, Cloudflare

## Related posts

- [Why does Neon use Paxos instead of Raft, and what’s the difference?](https://swe.quest/articles/why-does-neon-use-paxos-instead-of-raft-and-what-s-the-difference-f6a04ce40b5e85a1.md): Neon · 2022-08-02 · Hard · 14 min read · Consensus, Replication, PostgreSQL, Distributed databases, Formal methods
  Neon replaces Postgres's storage layer with distributed storage, so stateless compute nodes act as Paxos proposers and a fixed set of disk-backed safekeepers act as acceptors.
- [Augmenting Flexible Paxos in LogDevice to improve read availability](https://swe.quest/articles/augmenting-flexible-paxos-in-logdevice-to-improve-read-availability-1636941d1f8188f4.md): Meta Engineering · 2022-03-07 · Hard · 10 min read · Consensus, Distributed systems, Replication, Resilience
  LogDevice, Meta's distributed log store built on flexible Multi-Paxos, removed a core Flexible Paxos trade-off.
- [Building and deploying MySQL Raft at Meta](https://swe.quest/articles/building-and-deploying-mysql-raft-at-meta-7a90b8f5fc15ecc0.md): Meta Engineering · 2023-05-16 · Hard · 18 min read · MySQL, Consensus, Replication, Distributed databases
  Meta replaced its MySQL semisynchronous replication, whose failover and membership changes were orchestrated by external Python automation, with MySQL Raft, a Raft consensus engine built into mysqld.
- [How we built a general purpose key value store for Facebook with ZippyDB](https://swe.quest/articles/how-we-built-a-general-purpose-key-value-store-for-facebook-with-zippydb-852970eb82fe8238.md): Meta Engineering · 2021-08-06 · Hard · 10 min read · Distributed databases, Replication, Consistency models, Consensus, Multi-tenancy
  ZippyDB is Facebook's largest strongly consistent, geo-distributed key-value store, built by layering a reusable replication library (Data Shuttle) on RocksDB, Shard Manager and a ZooKeeper-based config service.
- [MySQL High Availability at GitHub](https://swe.quest/articles/mysql-high-availability-at-github-eab0c6a4cc5f7bdc.md): GitHub Engineering · 2018-06-20 · Medium · 15 min read · MySQL, Replication, Load balancing, Consensus, Resilience
  GitHub replaced VIP- and DNS-based MySQL primary discovery with a decoupled pipeline: orchestrator/raft detects failures and promotes a new primary, each orchestrator node writes the new identity to its local Consul KV store, and consul-template reconfigures GLB/HAProxy writer pools reached via anycast.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
