Ch11.10.3: Modern Network Protocols

HTTP/1.1 vs HTTP/2 vs HTTP/3

Feature HTTP/1.1 HTTP/2 HTTP/3
Year 1997 2015 2022
Transport TCP TCP QUIC (over UDP)
Binary Text Binary Binary
Multiplexing No (head-of-line blocking) Yes (streams over TCP) Yes (streams over QUIC)
Header compression No HPACK QPACK
Server push No Yes Yes
Connection migration No No Yes (switch networks seamlessly)
0-RTT resume No No Yes (faster connection setup)

QUIC (Quick UDP Internet Connections)

QUIC is a transport layer protocol developed by Google and standardized by the IETF. It runs over UDP and provides:

HTTP/3 uses QUIC as its transport. QUIC is also used by other protocols like WebTransport.

WebSocket and Server-Sent Events