---
title: "Consensus"
description: "Raft, Paxos, leader election, distributed agreement"
url: "https://swe.quest/tags/consensus?per=48"
---

# Consensus

Topic in Distributed systems: Raft, Paxos, leader election, distributed agreement

By difficulty: [Easy](https://swe.quest/tags/consensus.md?difficulty=easy) · [Medium](https://swe.quest/tags/consensus.md?difficulty=medium) · [Hard](https://swe.quest/tags/consensus.md?difficulty=hard)

Posts 1–19 of 19, page 1 of 1, newest first.

## 2026-11-11

- [Choosing QuePaxa, an unusual consensus algorithm](https://swe.quest/articles/choosing-quepaxa-an-unusual-consensus-algorithm-8142736b7b34aaea.md): Cloudflare · 2026-11-11 · Hard · 18 min read · Consensus, Distributed systems, Resilience, Replication
  Cloudflare's Meerkat, a globally distributed consensus service for its internal control plane, uses QuePaxa instead of Raft or Multi-Paxos.

## 2026-10-29

- [Multigres private alpha: automatic failover for Supabase Postgres](https://swe.quest/articles/multigres-private-alpha-automatic-failover-for-supabase-postgres-4c0bac5bc4b5d068.md): Supabase · 2026-10-29 · Easy · 4 min read · PostgreSQL, Replication, Consensus, Distributed databases
  Multigres, an open source Postgres cluster manager from the Vitess team, is now in private alpha on Supabase, running Postgres on three nodes across availability zones with automatic failover and built-in connection pooling behind a single connection string.

## 2026-08-20

- [Protocol-Aware Deterministic Simulation Testing](https://swe.quest/articles/protocol-aware-deterministic-simulation-testing-7f3b613be8faf2a6.md): TigerBeetle · 2026-08-20 · Hard · 10 min read · Formal methods, Testing, Consensus, Replication, Storage engines
  TigerBeetle's deterministic simulator (the VOPR) has full visibility into each replica's consensus and storage state, so it can check invariants that black-box tools like Jepsen or Antithesis cannot see through user-facing APIs.

## 2026-08-06

- [Orbital Computing and Distributed Databases | CockroachDB](https://swe.quest/articles/orbital-computing-and-distributed-databases-cockroachdb-c5f1cf8d95fd646c.md): Cockroach Labs · 2026-08-06 · Medium · 18 min read · Distributed databases, Consensus, Replication, Distributed systems, Performance engineering
  Orbital compute creates a harder problem for stateful systems than for GPUs: data must be replicated, coordinated and placed across a moving constellation.

## 2026-07-08

- [Announcing etcd v3.7.0](https://swe.quest/articles/announcing-etcd-v3-7-0-eca4801619911a7e.md): Kubernetes Blog · 2026-07-08 · Hard · 8 min read · Distributed databases, Kubernetes, Performance engineering, Consensus, Go
  etcd v3.7.0 adds RangeStream, an RPC that returns large range results in chunks so neither server nor client has to buffer the whole response.

## 2026-06-04

- [Multigres v0.1 Alpha: an operating system for Postgres](https://swe.quest/articles/multigres-v0-1-alpha-an-operating-system-for-postgres-c0966f501fe06387.md): Supabase · 2026-06-04 · Easy · 4 min read · PostgreSQL, Replication, Consensus, Kubernetes, Open source
  Multigres v0.1 alpha is an open-source management layer for Postgres.

## 2024-07-22

- [Bonree replaces ZooKeeper with ClickHouse Keeper for drastically improved performance and reduced costs](https://swe.quest/articles/bonree-replaces-zookeeper-with-clickhouse-keeper-for-drastically-improved-6eee02db0b20c225.md): ClickHouse · 2024-07-22 · Hard · 11 min read · Analytics & OLAP, Consensus, Distributed systems, Observability, Cost optimization
  Bonree migrated the coordination layer of its ClickHouse-based observability platform from five 3-node ZooKeeper clusters to a single ClickHouse Keeper cluster.

## 2023-12-27

- [It Takes Two to Contract](https://swe.quest/articles/it-takes-two-to-contract-371fa399d9d81617.md): TigerBeetle · 2023-12-27 · Medium · 6 min read · Zig, Testing, Consensus, Distributed systems, Language design
  Design by contract mostly reduces to types and assertions, but a real contract needs two parties: the same condition asserted at both the definition site and the call site.

## 2023-09-27

- [ClickHouse Keeper: A ZooKeeper alternative written in C++](https://swe.quest/articles/clickhouse-keeper-a-zookeeper-alternative-written-in-c-982cab848c27cdde.md): ClickHouse · 2023-09-27 · Medium · 16 min read · Consensus, Distributed systems, Performance engineering, Analytics & OLAP, C & C++
  ClickHouse Keeper is a C++ drop-in replacement for ZooKeeper with the same client protocol and data model.

## 2023-07-11

- [We Put a Distributed Database In the Browser – And Made a Game of It!](https://swe.quest/articles/we-put-a-distributed-database-in-the-browser-and-made-a-game-of-it-0b24aa4c3e59c84b.md): TigerBeetle · 2023-07-11 · Easy · 5 min read · Formal methods, Consensus, Testing, WebAssembly, Zig
  TigerBeetle's deterministic simulator, the VOPR, is compiled to WebAssembly via Zig and wrapped in a playable browser game that runs real TigerBeetle replicas across three levels.

## 2023-07-06

- [Simulation Testing For Liveness](https://swe.quest/articles/simulation-testing-for-liveness-7a5ba398eed57d56.md): TigerBeetle · 2023-07-06 · Hard · 4 min read · Formal methods, Testing, Consensus, Distributed systems, Resilience
  TigerBeetle's VOPR simulator now has a "liveness" mode alongside its "safety" mode, because uniformly random, eventually-healing faults can never surface livelocks such as a permanently asymmetric partition that triggers endless view changes.

## 2023-05-16

- [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.

## 2022-08-02

- [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.

## 2022-06-08

- [Introducing Zelos: A ZooKeeper API leveraging Delos](https://swe.quest/articles/introducing-zelos-a-zookeeper-api-leveraging-delos-60e2ce96bff76564.md): Meta Engineering · 2022-06-08 · Hard · 13 min read · Consensus, Distributed systems, Replication, Consistency models, Time & clocks
  Meta built Zelos, a ZooKeeper-compatible service on top of the Delos replicated-shared-log platform, to replace ZooKeeper clusters whose design ties application state to the ZAB consensus protocol and resists scaling changes.

## 2022-06-02

- [May 30 incident update](https://swe.quest/articles/may-30-incident-update-3783b8eb72e49183.md): Deno · 2022-06-02 · Easy · 2 min read · Incidents & postmortems, Consensus, Capacity planning, Linux
  A 70-minute Deno Deploy outage on May 30, 2022 was caused by the etcd service discovery cluster running out of memory after a network-wide load test: scale-up and scale-down generated a burst of updates, etcd daemons exceeded VM RAM, the Linux OOM killer terminated several at once, and quorum was lost.

## 2022-03-07

- [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.

## 2021-11-11

- [Motivating global stabilization](https://swe.quest/articles/motivating-global-stabilization-bf22ab61d8a73e1a.md): Trail of Bits · 2021-11-11 · Hard · 13 min read · Consensus, Distributed systems, Formal methods
  The global stabilization time (GST) assumption from Dwork, Lynch and Stockmeyer's partial-synchrony paper looks unrealistic, but it is both elegant and practically meaningful.

## 2021-08-06

- [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.

## 2018-06-20

- [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.

Same list as RSS: [https://swe.quest/feed.xml?tag=consensus](https://swe.quest/feed.xml?tag=consensus). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
