Engineering Notes

Short field notes on Go services, databases, Linux operations, and performance debugging.

all sqlite go storage linux systemd ops postgres databases performance http docker observability
2026-10-18 · 5 min read

SQLite WAL Mode and Busy Timeouts in Small Go Services

Practical pragma settings, connection pool sizing, and checkpoint behaviour for embedded SQLite databases.

2026-09-29 · 4 min read

Minimal Systemd Hardening Checklist for Go Binaries

Reducing blast radius for small internal HTTP services with ProtectSystem, dynamic users, and socket limits.

2026-09-07 · 6 min read

Keeping Queue Tables Fast with PostgreSQL Partial Indexes

Why indexing only pending rows keeps B-tree size tiny and avoids vacuum bloat on append-heavy tables.

2026-08-19 · 4 min read

Always Configure All Four Timeouts on net/http.Server

Notes on ReadHeaderTimeout, ReadTimeout, WriteTimeout, and IdleTimeout behind a reverse proxy.

2026-07-24 · 3 min read

Reproducible Static Go Builds Without Local Toolchains

Using ephemeral golang:alpine containers with CGO_ENABLED=0 and stripped symbols for tiny server binaries.

2026-06-30 · 5 min read

Avoiding Label Cardinality Explosions in Metrics

Practical rules for keeping Prometheus time series bounded across dynamic HTTP routes and user IDs.