Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Distributed systems

Replication

Replicating data or state, leader/follower, geo-replication.

Search within Replication, or combine it with other topics →

This week

Last week

Neon

Postgres 19 is out: try it on Neon

Release 12 min +120 XP

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.

Week of Nov 9

PlanetScale

How we migrate TBs from Heroku without logical replication

Case study 12 min +120 XP

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.

Week of Nov 2

ClickHouse

Fencing a Postgres primary that might still be alive

Case study 10 min +100 XP

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.

Week of Oct 26

Week of Oct 19

Week of Oct 12

Railway

Production Postgres on Railway: From First Deploy to High Availability

How-to 13 min +130 XP

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.

Week of Oct 5

Week of Sep 28

The quest for software engineering knowledge.

Look:
Layout: