mqm.

Articles Protocols

HTTP/2 vs HTTP/3

How TCP and QUIC handle concurrent requests, and what to measure before drawing conclusions.

Same HTTP semantics, different transports

HTTP/2 and HTTP/3 preserve familiar HTTP concepts such as methods, status codes and caching. HTTP/2 multiplexes many streams over one TCP connection. HTTP/3 carries HTTP over QUIC, a transport built on UDP that provides reliable streams and integrates TLS. Both protocols let clients make concurrent requests without requiring one connection per request.

Where packet loss shows up

TCP presents a single ordered byte stream. A lost TCP segment can delay delivery of later bytes to HTTP/2 even when those bytes belong to a different HTTP stream. QUIC orders data within each stream, so a gap on one stream need not prevent another stream from making progress. The streams still share congestion control and network capacity. Header compression can also introduce dependencies. A lossy mobile path and a clean wired path may therefore produce different results.

Discovery and fallback matter

A server may advertise HTTP/3 with an Alt-Svc response header, so a first visit and a return visit can negotiate different protocols. Some networks block or impair UDP. Keep HTTP/2 available and check what the browser actually negotiated. An advertisement shows that the service is offered. The Network panel’s Protocol column shows what an individual request used.

Compare equivalent visits

Use the same URL, device, network and cache state. Record negotiated protocol, connection reuse and request timing. Include a cold first visit, a warm repeat and a network where UDP is unavailable if your test setup permits it. Track the HTML response and the resources needed to render the page. Repeat each run and record the spread. If an edge proxy is involved, distinguish browser-to-edge protocol from edge-to-origin protocol. Either hop may be different, and browser tooling directly observes only the browser-facing hop.

References