Networking · interactive
HTTP/1.1, HTTP/2 and HTTP/3
A page needs ten files. How they share the connection decides when each one arrives. The link carries one chunk per tick; a handshake and each request's round trip cost time too.
- app.css
- app.js
- vendor.js
- logo.svg
- hero.jpg
- font.woff2
- icons.svg
- data.json
- avatar.png
- chart.js
054 ticks
Amber: delayed by the lost packet.
- HTTP/1.1, 1 connection48 ticks
- HTTP/1.1, 6 connections30 ticks
- HTTP/230 ticks
- HTTP/3 (QUIC)29 ticks
One connection, every file interleaved as separate streams, so small files finish early. 30 ticks.
Protocol
Packet loss
Step 2 of 4 · read left to right
In production
Tools and technologies
Browsers and CDNs negotiate HTTP/2 and HTTP/3 automatically.
Not tied to one language — use these names when you search docs or design a system.