~/null-pointer

Null Pointer Notes

Backend engineering, databases, and the occasional debugging war story.

Oct 28, 2026 · 9 min read

Tracking down a goroutine leak in production

How a forgotten context cancellation slowly ate 6 GB of memory over a week, and the pprof workflow that finally found it.

GoDebugging
Oct 12, 2026 · 6 min read

PostgreSQL partial indexes are underrated

A small change to one index cut our slowest query from 1.8 s to 12 ms. Here is when partial indexes help and when they don't.

PostgreSQLPerformance
Sep 30, 2026 · 12 min read

Writing a tiny HTTP router in 150 lines of Rust

No macros, no dependencies: building a path matcher with a radix tree to understand what the big frameworks do for us.

RustWeb
Sep 09, 2026 · 8 min read

Notes on running SQLite in production

WAL mode, busy timeouts, backups with Litestream, and the surprising number of things that just work.

SQLiteOps
Aug 21, 2026 · 7 min read

Why your Docker image is 1.2 GB (and how to fix it)

Multi-stage builds, distroless bases and layer ordering: a practical checklist I now apply to every project.

DockerDevOps
Older posts →