Standard Note

Personal engineering notes on Linux networking, distributed systems, and tooling.

TCP Congestion Control & Queue Disciplines

Switching from CUBIC to BBR with fair queueing (fq) significantly stabilizes tail latency on high-BDP paths. Disabling tcp_slow_start_after_idle avoids repeated ramp-up delays on bursty HTTP/2 workloads.

Socket Buffers for High-Throughput UDP

Default Linux receive and send socket buffers (212 KB) frequently bottleneck QUIC streams once RTT exceeds 40 ms. Raising rmem_max and wmem_max to 16 MB eliminates kernel-side drops under load.

Minimal Static Hosting Checklist

Keep public endpoints lean: automated TLS via ACME, HSTS enabled, HTTP/2 and HTTP/3 advertised consistently, and unnecessary administrative ports closed at the cloud firewall layer.