HTTP/2 & HTTP/3 00:00:01 Three colored files share the connection A phone needs three independent resources, shown in red, yellow and green. Compare a simplified sequential HTTP/1.1 connection with multiplexed HTTP/2 streams. Scheduling policy can interleave frames from the three responses. The red answer takes the first two slots. Yellow begins in slot 3, green in slot 5. One frame of each stream. The rest. All began within three slots. Multiplexing can reduce waiting between independent responses. The next question is whether the transport underneath can deliver those independent streams separately after loss. 00:00:45 One missing byte range holds the TCP stream HTTP/2 uses one ordered TCP byte stream on this connection. Lose an early segment that carried red data. Some later network packets can arrive at the receiver before TCP has the missing bytes. Six packets leave. r1 is lost. In this example later packets have arrived, but their bytes follow the missing range. TCP cannot expose those later bytes to HTTP/2 yet. When retransmission covers the gap, the buffered later bytes become deliverable to the application. The head-of-line delay here comes from TCP's ordered delivery to the application. Its scope is this connection; unrelated connections have separate byte streams. 00:01:27 QUIC orders each stream separately Repeat the loss on HTTP/3 over QUIC. QUIC tracks byte positions separately for each reliable stream. Yellow and green can make progress if their own required ranges have arrived. Again six packets, again r1 is lost. Their data is in order within each stream, so it is delivered at once. The data of r1 comes in a new packet, and red is complete. All streams still share network capacity and congestion control. HTTP/3 removes this particular cross-stream delivery blockage; it cannot remove propagation delay or recover missing red data instantly. 00:02:05 How the browser finds HTTP/3 A browser visiting a site needs evidence that an HTTP/3 endpoint is available. An existing HTTP response or a suitable DNS record can provide that information. Nothing is known. TCP, TLS, HTTP/2. In this example the response advertises an alternative HTTP/3 service on port four hundred forty-three. The browser tries QUIC. An HTTPS record says it before the first connection. On a network where the UDP path is unavailable, the client can fall back to a supported TCP-based HTTP connection. A network that blocks UDP may require a TCP-based alternative. Measure the negotiated protocol and fallback behavior when assessing real users, since a server supporting HTTP/3 does not mean every connection uses it. 00:02:58 Switch from Wi-Fi to mobile data The phone leaves home Wi-Fi while downloading. A QUIC connection can identify itself across address changes using connection identifiers and validate that a new path reaches the peer. Packets with connection ID A travel over the Wi-Fi. The Wi-Fi is gone. A TCP connection would end here. The phone continues over the mobile network with ID B, which the server had given it before. The server sends a challenge to the new address, and the phone answers. The same streams go on, without a new handshake. Migration depends on support and policy at the endpoints and along the route. Test both successful migration and a fresh connection with application-level recovery when the old session cannot continue.