Northbound Systems

Engineering notes on backend systems, databases, and small infrastructure.

Tuning Postgres for Write-Heavy Workloads

November 18, 2026 · Databases

Most write-heavy Postgres pain comes from three places: checkpoint storms, index bloat on hot tables, and autovacuum falling behind. This note walks through the settings we check first and the order we check them in.

What a Year of Running a Home Lab Taught Me About Backups

October 30, 2026 · Infrastructure

A backup you have never restored is a hypothesis, not a backup. Quarterly restore drills caught two silent failures this year that monitoring alone would never have surfaced.

Connection Pooling, Honestly

September 12, 2026 · Backend

Poolers are not free performance. They trade latency distribution for connection count, and whether that trade is worth it depends entirely on where your bottleneck actually sits.

SQLite in Production, Carefully

July 22, 2026 · Databases

SQLite carries more production workloads than it gets credit for. The ones that fail usually fail on the same three settings nobody changed from the defaults.

Reading a Slow Query Log Without Fooling Yourself

May 9, 2026 · Databases

A slow query log ranks by embarrassment, not by cost. The query at the top is rarely the one hurting you; the one at rank forty, run ten thousand times an hour, is.

Certificate Renewals: Automate Them or Calendar Them, but Pick One

March 3, 2026 · Infrastructure

Every expired-certificate outage we have ever caused or witnessed had the same root cause: renewal was nobody's job and everybody's assumption.