SQLite WAL Checkpointing Under Concurrent Readers
2026-11-08 · storage · 5 min read
Write-Ahead Logging allows readers to proceed alongside a single writer, but long-lived read transactions pin old WAL frames and prevent truncation. Setting a bounded statement timeout and running periodic PRAGMA wal_checkpoint(TRUNCATE) during idle windows keeps disk usage flat.
Pairing synchronous = NORMAL with ext4 ordered journaling delivers reliable crash recovery on NVMe-backed virtual machines without sacrificing throughput.
Observing Socket Pacing with ss and tc on Linux 7.0
2026-10-02 · linux · 4 min read
Inspecting per-flow pacing rates via ss -tin reveals how quickly BBR probes bottleneck bandwidth after idle periods. Combining fq qdisc pacing with sane socket memory ceilings avoids bursty retransmissions on long-haul trans-Pacific paths.
Keeping Systemd Units Minimal and Sandboxed
2026-08-19 · ops · 3 min read
Enabling ProtectSystem=strict, PrivateTmp=true, and NoNewPrivileges=true on Go and Rust daemons eliminates entire classes of filesystem escalation bugs with zero runtime overhead.