Skip to content

HA & Scale Engineering Updates

Core Tracks

Multi-region HA, high-concurrency pooling, zero-downtime upgrades, and scale performance breakthroughs.

4 curatedLast 30 days 4 itemsTracked total 19 items

updated

Featured HA & Scale Engineering

  1. Planet PostgreSQLGuides & Cases

    PostgreSQL 19 DBA Walkthrough, Part 2: Read Your Writes with WAIT FOR LSN

    A two-session psql walkthrough shows how PostgreSQL 19 uses WAIT FOR LSN to read your writes on an asynchronous standby. It captures the WAL insert LSN on the same primary connection after commit and also covers timeouts, monitoring waiters, and a stalled standby.

    Why It MattersWhen reads from an asynchronous standby must reflect a just committed write, the application can wait before reporting success without adding that wait to the primary’s synchronous commit path.

  2. X · PostgreSQL 高赞热议Products & Tools

    Datadog Open-Sources PG Proxy for PostgreSQL

    Datadog open-sourced its PostgreSQL proxy, PG Proxy, which it says handles 4 trillion queries per month, 200M+ daily authentications, and 600K+ open client connections. Written in Go, it can run as a PgBouncer drop-in replacement or be embedded as a library.

    Why It MattersDatadog open-sources PG Proxy for workloads exceeding 4 trillion monthly queries, with PgBouncer-compatible deployment or Go library embedding.

  3. Percona PostgreSQL BlogGuides & Cases

    How PostgreSQL 19’s WAIT FOR LSN Can Replace Synchronous Replication

    PostgreSQL 19’s WAIT FOR LSN lets apps wait after commit for a standby flush or replay, for durability on both servers or read-your-writes. A timeout leaves the outcome unknown. Percona’s author recommends waiting for 19.1 before production use because 19.0 lacks a critical fix.

    Why It MattersWaiting on demand keeps standby outages from stalling primary commits, but standby connection pools need capacity for sessions held open while they wait.

  4. Planet PostgreSQLBenchmarks

    The Hidden Costs of CREATE TEMP TABLE in Postgres 18: Catalog Bloat and LWLock:SInvalWrite

    In Postgres 18, a CTE achieved 23x the TPS of creating a temp table per transaction. With 5000 idle sessions, temp-table DDL reached 127 TPS and 249 TPS in two runs against a 500 TPS target.

    Test conditionsThe benchmarks quantify the throughput gap when creating a temp table per transaction and how far temp-table DDL falls short of its target with many idle sessions.