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-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-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.