Open Engineering Journal

BalticDev Engineering Notes

Practical notes on Linux networking queues, NVMe write-amplification benchmarks, gRPC backpressure, and predictable PostgreSQL failover across European nodes.

Tuning TCP Keepalive and Socket Backlog on Linux 6.8

Systems Engineering · 6 min read

High-concurrency RPC collectors benefit from keeping net.core.somaxconn=8192 alongside aggressive keepalive probes (tcp_keepalive_time=30, tcp_keepalive_intvl=10) to clear half-open NAT sessions before worker pools saturate.

Combining FQ qdisc scheduling with BBR congestion control prevents bufferbloat spikes during cross-region state snapshots.

Deterministic Schema Upgrades Without Container Downtime

Storage & Release Engineering · 5 min read

When managing bind-mounted configuration files inside host-networked Docker containers, rewriting via O_RDWR in-place truncate preserves host inodes and avoids stale container file handles on live reload.

HTTP/2 Flow-Control Windows for Multiplexed gRPC Telemetry

Backend Architecture · 4 min read

Capping http2_max_concurrent_streams while raising keepalive_timeout stabilizes tail latency for long-lived worker streams without inflating per-connection page cache.