SQLite WAL Mode in Small Single-Node Services
Enabling PRAGMA journal_mode=WAL; and keeping busy_timeout=5000 eliminates almost all write-lock hiccups for read-heavy background workers without reaching for an external database server.
Systems, Linux, and personal field notes.
Enabling PRAGMA journal_mode=WAL; and keeping busy_timeout=5000 eliminates almost all write-lock hiccups for read-heavy background workers without reaching for an external database server.
For long-lived connections over variable mobile links, pairing fq + bbr congestion control with conservative socket timeouts improves tail latency while keeping idle memory overhead flat.
Daily systemd timers running incremental snapshots with strict retention policies (--keep-daily 7 --keep-weekly 4) make small VPS migrations straightforward and predictable.