Engineering Notes

Personal static archive. Updated occasionally.

PostgreSQL vacuum tuning on small NVMe nodes

When running high-churn queues on modest SSD instances, lowering autovacuum_naptime and raising autovacuum_cost_limit prevents bloat spikes during peak write windows.

Go HTTP/2 connection pooling notes

Reusing a single http.Transport with explicit MaxIdleConnsPerHost avoids ephemeral port exhaustion under bursty microservice fan-outs.