Backend engineer. I write mostly Go, run it on Linux, and spend more time than I'd like reading query plans. These are working notes — things I looked up once and didn't want to look up again.
-
The standard library finally has structured logging that I'm happy to depend on. Notes from migrating a service off a third-party logger.
-
A short catalogue of the context.Context patterns that actually earn their keep: deadlines, errgroup, and not leaking goroutines.
-
Why transaction pooling broke my prepared statements, and the three settings that matter more than pool size.
-
The parts of my terminal setup that survived three laptop migrations, and how I keep the dotfiles from rotting.
-
Cron is fine until you want logs, dependencies, or a job that doesn't pile up. Here's how I moved our periodic jobs to timers.
-
A practical walk through a real query plan: where the time goes, what the row estimates mean, and when a Seq Scan is fine.
-
A memory graph that only ever went up. How I used the heap profiler and a diff of two snapshots to find the culprit.