Skip to content

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

Topics Data & databases

PostgreSQL

Friday, Nov 27

Wednesday, Nov 25

Tuesday, Nov 24

Monday, Nov 23

Tracing Cache Inconsistencies to Their Root Cause

Case study 7 min +70 XP

Nextdoor extended its versioned Valkey ORM cache so every conditional write also atomically stores a short-lived verification key (receipt) recording the operation (fill_on_write or fill_on_miss), writer service, trace ID and replaced version, colocated via a hash tag in the same cluster slot.

Sunday, Nov 22

Thursday, Nov 19

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.

Wednesday, Nov 18

Monday, Nov 16

ClickHouse

How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners

Case study 9 min +90 XP

Infinitas Learning runs transactional learner-result processing on Postgres, with PL/pgSQL functions serving as the API in place of an earlier Kafka/Flink event-sourced pipeline, and customer-facing analytics on ClickHouse.

Thursday, Nov 12

Wednesday, Nov 11

Turso

A database per agent: how Turso and Neon give different answers

Opinion 10 min +100 XP

Neon and Turso both support a database per agent but differ in the unit: Neon gives each agent a Postgres project with its own autoscaling compute that suspends after 5 minutes idle and is billed by CU-hour, while Turso treats each SQLite-compatible database as a file managed by a shared server, billed by rows read/written and storage with unlimited databases on paid plans.

Tuesday, Nov 10

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.

Monday, Nov 9

Eventually Consistent: How Do We Know the Systems Eventually Agree?

Deep dive 9 min +90 XP

Eventually consistent event-driven order systems need a reconciliation job that starts from the authoritative order store, not from received messages, so orders whose events were lost (like a fraud-hold release that never reached SAP) still surface.

The quest for software engineering knowledge.

Look:
Layout: