HTTP/2 and HTTP/3 both improve web performance, but use fundamentally different transports. HTTP/2 runs over TCP, while HTTP/3 uses QUIC over UDP—changing connection handling, packet processing, streams, congestion control, and NGINX worker behavior.