Engineering notes

Tuning autovacuum on busy PostgreSQL tables

September 2026

Default autovacuum thresholds are tuned for small tables. For tables with tens of millions of rows we lower th…

Cancelling work properly with context in Go

May 2026

A short checklist for passing context through goroutines, timeouts on outgoing calls, and avoiding leaked work…

Micro-caching dynamic pages with nginx

February 2026

One-second caching in front of an application server can absorb traffic spikes with almost no staleness.…