---
title: "Replication"
description: "Replicating data or state, leader/follower, geo-replication"
url: "https://swe.quest/tags/replication"
---

# Replication

Topic in Distributed systems: Replicating data or state, leader/follower, geo-replication

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

Posts 1–24 of 140, page 1 of 6, newest first.

## 2026-11-25

- [Rethinking read replicas for the lakebase architecture](https://swe.quest/articles/rethinking-read-replicas-for-the-lakebase-architecture-35eaea5162536008.md): Neon · 2026-11-25 · Medium · 15 min read · PostgreSQL, Replication, Storage engines, Cloud platforms, Cost optimization
  Lakebase Postgres implements read replicas as additional read-only computes attached to the same disaggregated storage as the primary, rather than as physical clones with their own volumes.

## 2026-11-24

- [PostgreSQL 19 on ClickHouse Managed Postgres, from day one](https://swe.quest/articles/postgresql-19-on-clickhouse-managed-postgres-from-day-one-f842fb2eaa8035d3.md): ClickHouse · 2026-11-24 · Medium · 12 min read · PostgreSQL, Replication, Deployment, Databases
  PostgreSQL 19 has been generally available on ClickHouse Managed Postgres since its November 2026 release day.

## 2026-11-20

- [Petsem: Sometimes Dead Is Better](https://swe.quest/articles/petsem-sometimes-dead-is-better-1fcc24cdcd7724b3.md): Fly.io · 2026-11-20 · Medium · 6 min read · Security, Identity & auth, Replication, System design, Cloud platforms
  Fly.io replaced HashiCorp Vault with Petsem, a home-grown secrets store that keeps a single write master in IAD but adds regional read replicas, trading strict consistency for availability.

## 2026-11-19

- [Postgres 19 is out: try it on Neon](https://swe.quest/articles/postgres-19-is-out-try-it-on-neon-e6c41c3a4f2e92c9.md): Neon · 2026-11-19 · Medium · 12 min read · PostgreSQL, Replication, Query engines, Databases
  Postgres 19 is an operations-focused release that adds REPACK (CONCURRENTLY) for online table rebuilding and clustering via logical decoding, pg\_plan\_advice/pg\_stash\_advice for stabilizing bad plans by query ID, parallel autovacuum with priority scoring, WAIT FOR LSN for read-your-writes on replicas, and logical replication sequence sync.

## 2026-11-17

- [More load is faster: Tuning Postgres read replicas](https://swe.quest/articles/more-load-is-faster-tuning-postgres-read-replicas-edfe2bbdc0de0a5f.md): ClickHouse · 2026-11-17 · Hard · 9 min read · PostgreSQL, Replication, Performance engineering
  Postgres read replicas fed from archived WAL (rather than streaming replication) show a U-shaped lag curve: idle systems wait up to archive\_timeout (60s) for a 16MB segment to fill, while very high write rates make archive upload fall behind.

## 2026-11-16

- [Turso Sync: Local-First SQLite with Push and Pull](https://swe.quest/articles/turso-sync-local-first-sqlite-with-push-and-pull-8967f9053b2dc6bc.md): Turso · 2026-11-16 · Medium · 10 min read · Local-first & sync, SQLite, Replication, Event-driven architecture, Performance engineering
  Turso Sync replaces libSQL's page-based Embedded Replicas with logical row-level changes captured via CDC in Turso Database, a Rust rewrite of SQLite, so reads and writes stay local and apps call push() and pull() explicitly.

## 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.
- [How we migrate TBs from Heroku without logical replication](https://swe.quest/articles/how-we-migrate-tbs-from-heroku-without-logical-replication-e0568c616a878849.md): PlanetScale · 2026-11-11 · Medium · 12 min read · PostgreSQL, Schema migrations, Replication, Networking
  PlanetScale's open-source Heroku Migrator moves multi-terabyte Postgres databases off Heroku standard plans, which lack WAL access and logical replication, by using Bucardo trigger-based replication: triggers record changes in delta tables, a one-time COPY loads existing data, and a worker replays the backlog before a controlled switchover with verification.

## 2026-11-06

- [What I learned from a month with WalShadow on ClickHouse Managed Postgres](https://swe.quest/articles/what-i-learned-from-a-month-with-walshadow-on-clickhouse-managed-postgres-89e5a8963b72573d.md): ClickHouse · 2026-11-06 · Medium · 16 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Performance engineering
  WalShadow, which decodes physical Postgres WAL outside the database and writes blocks directly to ClickHouse, held median replication latency near 0.4 s from 1 to 200,000 rows/s on a 16 vCPU source.

## 2026-11-05

- [Inside GitHub’s new Git storage architecture](https://swe.quest/articles/inside-github-s-new-git-storage-architecture-014a8644555e81c8.md): GitHub Engineering · 2026-11-05 · Hard · 15 min read · Version control, Storage systems, Distributed systems, Scaling, Replication
  GitHub's new Git storage architecture, Rubicon, rests on one observation: only reference updates need ordering.
- [Managed Postgres on Railway](https://swe.quest/articles/managed-postgres-on-railway-38376e6923686bbc.md): Railway · 2026-11-05 · Medium · 9 min read · PostgreSQL, Replication, Cloud platforms, AI agents
  Railway's managed Postgres now covers the full database lifecycle: private-by-default services with reference-variable credentials, usage-billed vertical scaling, live volume resizing, and one-click PgBouncer pooling with a separate unpooled URL for migrations.
- [Designing a reliable unplanned failover](https://swe.quest/articles/designing-a-reliable-unplanned-failover-ab0dd731f569d08c.md): PlanetScale · 2026-11-05 · Hard · 10 min read · PostgreSQL, Replication, Resilience, Distributed systems, Distributed databases
  Neki, PlanetScale's Postgres sharding system, declares a primary dead only when its control plane (Admin) cannot reach it and at least one reachable replica reports broken replication with none contradicting.

## 2026-11-04

- [Fencing a Postgres primary that might still be alive](https://swe.quest/articles/fencing-a-postgres-primary-that-might-still-be-alive-67043bdd5aea0f6c.md): ClickHouse · 2026-11-04 · Hard · 10 min read · PostgreSQL, Replication, Resilience, Networking, Cloud platforms
  Before promoting a standby, a managed Postgres control plane must fence the old primary, because promotion and DNS changes alone don't stop writes: async standbys, per-session synchronous\_commit overrides, quorum commit with a remaining standby, and canceled commits already in WAL can all let a still-alive primary accept writes.

## 2026-11-03

- [Does your application need local data or faster Postgres?](https://swe.quest/articles/does-your-application-need-local-data-or-faster-postgres-dc8690cbad1e3fc9.md): ClickHouse · 2026-11-03 · Easy · 9 min read · PostgreSQL, Local-first & sync, System design, Replication, AI agents
  Before adding a sync engine or local data copy to speed up an application, check whether the real bottleneck is network-attached storage under managed Postgres.
- [2 million databases and counting: the architecture behind Sauna's AI teammate](https://swe.quest/articles/2-million-databases-and-counting-the-architecture-behind-sauna-s-ai-teammate-ca635665d8781bf3.md): Turso · 2026-11-03 · Easy · 8 min read · SQLite, Multi-tenancy, Replication, AI agents, System design
  Sauna, a proactive AI work assistant, gives every session, agent and connected inbox or calendar its own Turso database, creating about 90,000 databases a day and over 2 million in total.
- [The hidden latency inside your database](https://swe.quest/articles/the-hidden-latency-inside-your-database-263d79fde3372538.md): PlanetScale · 2026-11-03 · Easy · 8 min read · Storage systems, Databases, Performance engineering, Cloud platforms, Replication
  Cloud databases on network-attached storage like EBS pay a network round trip on every disk operation, a cost that became the dominant bottleneck once SSDs made disks ~100x faster than spinning drives.

## 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.
- [Designing a planned switchover for minimum disruption](https://swe.quest/articles/designing-a-planned-switchover-for-minimum-disruption-c09f9387b5a40465.md): PlanetScale · 2026-10-29 · Hard · 8 min read · PostgreSQL, Replication, Resilience, Deployment
  Neki performs planned Postgres primary switchovers without stopping the old primary.

## 2026-10-21

- [The bridge to agent-scale Git infrastructure](https://swe.quest/articles/the-bridge-to-agent-scale-git-infrastructure-d844fd2db4fef4f7.md): GitHub Engineering · 2026-10-21 · Medium · 7 min read · Replication, Distributed systems, Scaling, Version control, Storage systems
  GitHub has moved nearly all Git repositories to replicas split between its own data centers and Azure.
- [I don't trust ON DELETE CASCADE](https://swe.quest/articles/i-don-t-trust-on-delete-cascade-44280f7ae72c78f6.md): PlanetScale · 2026-10-21 · Medium · 5 min read · PostgreSQL, Schema migrations, Replication, Databases
  Postgres ON DELETE CASCADE turns a single-row delete into an unbounded transaction that can cause outages at scale.

## 2026-10-15

- [Production Postgres on Railway: From First Deploy to High Availability](https://swe.quest/articles/production-postgres-on-railway-from-first-deploy-to-high-availability-70a3bcba84354fc9.md): Railway · 2026-10-15 · Medium · 13 min read · PostgreSQL, Replication, Resilience, Cloud platforms
  Railway Postgres can grow from a single private-networked database to a production setup with volume backups, point-in-time recovery, PgBouncer connection pooling and Patroni-based high availability, demonstrated with an orders API that uses idempotency keys so retries stay safe.

## 2026-10-13

- [Postgres at Open House NYC](https://swe.quest/articles/postgres-at-open-house-nyc-5b2de1c38cc64f40.md): ClickHouse · 2026-10-13 · Easy · 6 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP
  ClickHouse used its Open House NYC keynote to launch WalShadow, an open-source engine that replicates Postgres into ClickHouse from the physical WAL instead of logical replication.

## 2026-10-06

- [Building Git infrastructure for agent-scale development](https://swe.quest/articles/building-git-infrastructure-for-agent-scale-development-3f8b84d59639a2ff.md): GitHub Engineering · 2026-10-06 · Easy · 8 min read · Version control, Distributed systems, Scaling, Replication, Storage systems
  GitHub is rebuilding its Git storage layer because agent-driven workloads are colliding with the design of Spokes.

## 2026-10-02

- [Scale without limits: Multigres, OrioleDB, and dbarena](https://swe.quest/articles/scale-without-limits-multigres-orioledb-and-dbarena-9dcab6dd01f060fc.md): Supabase · 2026-10-02 · Easy · 4 min read · PostgreSQL, Storage engines, Replication, Performance engineering
  Supabase launched three Postgres scaling efforts. Multigres, from the Vitess team, adds built-in connection pooling and automated failover across three availability-zone nodes, using a consensus protocol over synchronous replication so no committed write is lost.

[Next page](https://swe.quest/tags/replication.md?page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=replication](https://swe.quest/feed.xml?tag=replication). 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)
