Hardware Infrastructure & Performance Optimization
Everything you ever wanted to know about UDP sockets but were afraid to ask, part 1

Everything you ever wanted to know about UDP sockets but were afraid to ask, part 1

11/25/2021 · Marek Majkowski

What this post added

This post delves into the complexities of operating stateful UDP services at scale, a critical component for modern protocols like QUIC and services like WARP and Spectrum. It details the nuances of connected vs. unconnected UDP sockets, the challenges of sourcing packets from wildcard sockets, and introduces the 'established-over-unconnected' technique as a method for graceful server restarts in UDP. This contributes to the understanding and optimization of Cloudflare's underlying network infrastructure for handling diverse and high-performance UDP traffic.

Read the original post ↗