Cloudflare's process management and graceful upgrades have evolved with the introduction of udpgrm, a lightweight daemon that leverages Linux's SO_REUSEPORT API and eBPF for stateful flow tracking to enable zero-downtime restarts for UDP servers. This addresses the challenges of migrating flow state for stateful UDP protocols like QUIC, WireGuard, and SIP, which were previously difficult to handle gracefully. udpgrm manages the complexity of socket generation, flow dissectors, and eBPF program installation, allowing server processes to focus on their core logic.
All Cloudflare trails