Mikael's Dev Notes

Linux systems, networking benchmarks, and minimalist web tooling.

Tuning TCP Congestion Control on Ubuntu 24.04

November 12, 2026

Switching the default congestion control algorithm from cubic to bbr noticeably improves throughput on high-latency European links with occasional packet loss. Remember to pair it with fq as the default qdisc for proper pacing.

Zero-Maintenance Static Hosting with Caddy

October 28, 2026

After years of maintaining manual certbot cron jobs, migrating personal static sites to Caddy eliminated almost all operational overhead. Automatic TLS renewal and sensible HTTP/2 defaults make it ideal for small single-node deployments.

Notes on Minimalist Systemd Units

September 19, 2026

Always drop privileges when running network-facing daemons. Using AmbientCapabilities=CAP_NET_BIND_SERVICE avoids running services as root while still allowing binding to ports 80 and 443.