Most people judge an internet connection by one number: its bandwidth. Providers sell 100 Mbit/s, 500 Mbit/s or 1 Gbit/s, and speed tests show the same figure in large digits. Yet a page on a 1 Gbit/s fibre line can still feel slow, and a page on a modest connection can feel instant. The reason is a second number that rarely appears in adverts: the round-trip time, or RTT. This article explains why round trips, not raw bandwidth, decide how fast the web feels, and how the two main transport protocols of the web, TCP and QUIC, spend or save those round trips.
This is part 3 of a series. In The OSI Model in Practice we followed one HTTP request through every network layer. In HTTP/1.1 vs HTTP/2 vs HTTP/3 in Practice we compared the HTTP versions themselves: framing, header compression and streams. This article does not repeat that material. It goes one level down and looks at time: how long a packet needs to cross the network and back, how often a connection must wait for that, and what TCP, TLS and QUIC do about it.
By the end you will be able to estimate the minimum load time of a page from the distance to its server, explain the bandwidth-delay product and why it limits a single connection, count the round trips of a cold page load over TCP with TLS 1.2, TLS 1.3 and QUIC, and understand why QUIC runs over UDP. You will also know which tools measure RTT and which practical steps remove round trips. We use one example user throughout: a person in Frankfurt who opens websites hosted in Paris, New York, Singapore and Sydney.
1. Why Round Trips Matter More Than Bandwidth
Bandwidth is how many bits a link can carry per second. Latency is how long one bit needs to travel from sender to receiver. The two are independent. A wide motorway can carry many cars at once, but it does not make the journey shorter. If the destination is 500 km away, every car still needs the same time to arrive, no matter how many lanes the road has.
Web traffic is dominated by small transfers and many dialogues. Before a browser receives the first byte of a page, it must look up the name in DNS, open a TCP connection, negotiate TLS and send the HTTP request. Each of these steps is a question that must be answered before the next one can start. Each answer costs one round trip. Bandwidth does not help here, because the messages are tiny: a TCP SYN is a few dozen bytes. The limiting factor is the time the question and the answer spend on the wire.
1.1 The Belshe Measurement
In 2010 Mike Belshe, an engineer at Google and co-designer of SPDY, published a short study called "More Bandwidth Doesn't Matter (much)". He loaded a set of popular websites in a controlled setup and varied two parameters: the bandwidth of the link and the RTT. The result was clear. Page load time improved strongly as bandwidth rose towards about 5 Mbit/s. Above that, the gains became small. When he reduced the RTT, however, page load time fell almost linearly.
The explanation is simple. A typical web page consists of many small resources, fetched over connections that must first be set up and then must grow their sending rate step by step. Both the setup and the growth are measured in round trips. Once the link is fast enough to carry those small transfers quickly, extra bandwidth sits idle while the connection waits for acknowledgements.
1.2 An Analogy: The Librarian
Imagine you need ten books from a library in another building. You cannot go yourself; a librarian walks over for you. The librarian can carry an armful of books on each trip, but the rules say they must come back and confirm each step before the next. First they check that the library is open. Then they confirm your membership. Then they ask which shelf to use. Only then do they fetch the books, and only a few on the first walk, because the rules say "start small and carry more once things go well".
A stronger librarian who can carry fifty books at once does not help much. The walks are the problem. If the other building is twice as far away, every step takes twice as long and the whole errand doubles. That is the web: the strength of the librarian is bandwidth, the walking distance is RTT, and the rules are the protocols.
1.3 A Small Example
Take a 100 KB HTML page served from New York to our user in Frankfurt, with a real RTT of about 85 ms. At 100 Mbit/s, pushing 100 KB onto the wire takes about 8 ms. At 1 Gbit/s it takes under 1 ms. Now count the round trips of a cold load over TCP with TLS 1.2: one for DNS, one for the TCP handshake, two for TLS and one for the HTTP request. That is 5 RTT, or about 425 ms, before the first byte of the page arrives. Section 8 shows the full count, including the extra round trips that TCP slow start adds for a 100 KB response.
So the tenfold bandwidth upgrade from 100 Mbit/s to 1 Gbit/s saves about 7 ms. Removing a single round trip saves 85 ms. This ratio is the core message of the article. Most of the large performance gains on the web in the last fifteen years, from TLS 1.3 to QUIC to CDNs, are ways to remove round trips or to make each one shorter.
2. What a Round Trip Is
Several related terms are often mixed up. It is worth defining them once.
- One-way delay is the time a packet needs to travel from the sender to the receiver. It is hard to measure, because sender and receiver would need perfectly synchronised clocks.
- Round-trip time (RTT) is the time from sending a packet until the reply to it arrives back at the sender. It is easy to measure, because only one clock is involved. It includes the one-way delay in both directions plus the time the receiver needs to respond.
- Latency is the general word for delay. In networking it usually means one-way delay, but in everyday use, including in browser tools, it often means RTT. When a number is quoted, it is worth checking which one is meant.
The paths in both directions are not always equal. Traffic from Frankfurt to New York may take a different cable than the traffic coming back. RTT hides this asymmetry, which is one reason protocols work with RTT and not with one-way delay.
Client (Frankfurt) Server (New York)
| |
t=0 |---------- request (one-way delay) ------>|
| | processing
|<--------- reply (one-way delay) ---------|
t=RTT | |
RTT = delay out + processing + delay back
2.1 The Four Components of Delay
Every packet experiences four kinds of delay at every hop on its path. The total one-way delay is the sum over all hops.
| Component | Cause | Typical size |
|---|---|---|
| Propagation | Signal travel in the medium | 5 us per km of fibre |
| Transmission | Pushing bits onto the link | 1.2 ms for 1,500 B at 10 Mbit/s |
| Processing | Router reads header, looks up route | Microseconds |
| Queuing | Waiting behind other packets | 0 to hundreds of ms |
Propagation delay depends only on distance and the medium. In fibre, light covers about 200 km per millisecond, so each kilometre adds 5 microseconds one way. Section 3 looks at this in detail.
Transmission delay, also called serialisation delay, is the time needed to place all bits of a packet onto the link. It is packet size divided by link rate. A full 1,500-byte Ethernet frame takes 1.2 ms at 10 Mbit/s but only 12 microseconds at 1 Gbit/s. This is the only component that bandwidth reduces. On modern links it is usually small.
Processing delay is the time a router or switch needs to read the header, check it and decide where to send the packet. In modern hardware this is a matter of microseconds.
Queuing delay is the time a packet waits in a buffer because the outgoing link is busy. It is the only component that changes quickly. On an idle network it is close to zero. On a congested link it can grow to hundreds of milliseconds.
2.2 Bufferbloat
Routers and modems hold buffers so that short bursts of traffic do not cause packet loss. That is useful. The problem appears when buffers are much larger than they need to be, a condition called bufferbloat. TCP increases its sending rate until it sees loss. If the buffer is huge, loss comes late, and in the meantime the buffer fills up. Every packet then waits behind all the others.
A simple calculation shows the size of the effect. A home router with a 1 MB buffer on a 10 Mbit/s uplink holds 8 Mbit of data. Draining it takes 8 Mbit / 10 Mbit/s = 800 ms. If a large upload fills that buffer, every other packet from the household, including DNS lookups and video call audio, waits up to 800 ms. The idle RTT might be 20 ms, but the loaded RTT is now over 800 ms. This is why a connection can feel sluggish while someone else is uploading photos. Active queue management, such as CoDel and FQ-CoDel, fights this by keeping queues short.
2.3 Jitter
RTT is not a constant. Queues fill and drain, routes change, and wireless links retry frames. The variation in delay from one packet to the next is called jitter. For a web page, jitter matters mainly because protocols must guess how long to wait before they declare a packet lost. If RTT jumps around, the guess must be cautious, and a cautious guess means waiting longer before a retransmission. For real-time audio and video, jitter matters even more, because a receiver must buffer enough data to smooth it out, which adds delay.
3. The Speed of Light Sets the Floor
Of the four components, propagation delay is the one that no engineering can remove. It is set by physics.
Light travels at 299,792 km/s in a vacuum. In optical fibre it is slower, because glass has a refractive index of about 1.47. The speed in fibre is the vacuum speed divided by that index, which gives about 200,000 km/s, or roughly two thirds of the speed of light in a vacuum. This leads to a useful rule of thumb: 1 ms of RTT per 100 km of fibre. One way, that is 5 microseconds per kilometre; a round trip doubles the distance.
3.1 From Frankfurt to the World
Applying the rule to our user in Frankfurt gives the theoretical minimum RTT for each destination. The distance is the great-circle distance, the shortest path along the surface of the Earth.
| Route from Frankfurt | Distance | Minimum RTT (fibre) | Typical real RTT |
|---|---|---|---|
| Paris | 480 km | 4.8 ms | ~10 ms |
| New York | 6,200 km | 62 ms | ~85 ms |
| Singapore | 10,300 km | 103 ms | ~160 ms |
| Sydney | 16,500 km | 165 ms | ~270 ms |
The real RTT is always higher than the minimum, often by 40 to 100 percent. There are three main reasons. First, cables do not follow great circles. They follow coastlines, cross oceans at practical landing points and run along railways and motorways on land. Second, every router on the path adds processing and some queuing delay. Third, traffic is routed according to commercial agreements between networks, not according to the shortest path. A packet may travel to a distant exchange point before it turns towards its destination.
Combine this table with the round-trip count from Section 1. A cold page load that needs 5 RTT costs about 50 ms from Paris, about 425 ms from New York, about 800 ms from Singapore and about 1,350 ms from Sydney, before a single byte of content arrives and before any transfer time. The server could be infinitely fast and the result would be the same.
3.2 Satellites: GEO and LEO
Satellite links show the effect of distance in its purest form.
A geostationary (GEO) satellite orbits at 35,786 km above the equator, so it appears fixed in the sky. A request must travel up to the satellite and down to a ground station, and the reply must make the same journey back. That is four crossings of 35,786 km, about 143,000 km in total. Even at the full vacuum speed of light, this takes about 480 ms. Add processing and the terrestrial part of the path, and real RTTs of around 600 ms are normal. With 5 RTT for a cold page load, the user waits about 3 seconds before the first byte.
Low Earth orbit (LEO) constellations such as Starlink fly at about 550 km. The four crossings add only a few milliseconds of propagation delay. Typical RTTs are 25 to 60 ms, comparable to many terrestrial connections. The bandwidth of GEO and LEO services can be similar; the difference in user experience comes almost entirely from RTT. This is the Belshe result again, at planetary scale.
3.3 Faster Than Fibre: The Trading Anecdote
High-frequency traders know the value of a millisecond better than anyone. Between the futures exchanges in the Chicago area and the stock exchanges in New Jersey, a firm called Spread Networks built a new fibre route around 2010, laid as straight as possible to shorten the distance. Within a few years, other firms replaced fibre on this route with chains of microwave towers. Radio waves in air travel at almost the full speed of light in a vacuum, about 50 percent faster than light in glass, and the towers can follow a nearly straight line. The microwave links carry far less bandwidth than fibre and are disturbed by heavy rain, but for trading the lower latency was worth more than capacity. It is a clear real-world case of latency beating bandwidth.
3.4 You Cannot Buy a Shorter RTT
For most of us, microwave towers are not an option. The lesson for web engineering is direct: you cannot buy a shorter RTT; you can only move closer. A faster server, a bigger uplink or a more expensive hosting plan does not change the distance between Frankfurt and Sydney. What does help:
- Move the content closer to the user, for example with a CDN that serves cached files from a nearby edge location.
- Terminate the connection closer to the user, so that the expensive handshakes happen over a short RTT even if the content itself comes from far away.
- Need fewer round trips, which is what TLS 1.3, QUIC and the techniques in Section 18 achieve.
The rest of this article is about the third point. But keep the first two in mind: no protocol can make a round trip from Frankfurt to Sydney shorter than 165 ms.
4. Bandwidth, Latency and the Bandwidth-Delay Product
Latency does not only add waiting time at the start of a connection. It also limits how fast a single connection can transfer data once it is running. The concept that links bandwidth and latency is the bandwidth-delay product.
4.1 The Pipe Model
Think of a network path as a pipe. Bandwidth is the width of the pipe. RTT is its length, measured in time. The volume of the pipe is the amount of data that can be "in flight": sent but not yet acknowledged. This volume is the bandwidth-delay product (BDP).
BDP = bandwidth x RTT
For a 100 Mbit/s path with an RTT of 100 ms, the BDP is 100 Mbit/s x 0.1 s = 10 Mbit, which is 1.25 MB. To use the full bandwidth, the sender must have 1.25 MB of data on the way before the first acknowledgement returns. If it sends less and then waits, the pipe is partly empty and the link is underused.
Sender Receiver
|==[pkt]==[pkt]==[pkt]==[pkt]==[pkt]==[pkt]==[pkt]==>|
|<--[ack]--[ack]--[ack]--[ack]--[ack]--[ack]--[ack]--|
Data in flight must fill the pipe for full speed:
BDP = 100 Mbit/s x 100 ms = 10 Mbit = 1.25 MB
TCP controls how much data may be in flight with two windows. The receive window is advertised by the receiver and says how much buffer space it has. The congestion window, which Section 6 covers, is kept by the sender and reflects how much the network can take. The sender may have at most the smaller of the two in flight. This leads to a hard rule for one connection:
throughput <= window / RTT
4.2 Window Scaling
The original TCP header has a 16-bit field for the receive window. The largest value it can hold is 65,535 bytes. At an RTT of 100 ms, the maximum throughput is therefore 65,535 B / 0.1 s = 655,350 bytes per second, or about 5.2 Mbit/s. It does not matter whether the link offers 100 Mbit/s or 10 Gbit/s; one TCP connection without help cannot go faster than about 5.2 Mbit/s over that RTT.
The fix is the window scale option, defined today in RFC 7323. During the handshake, both sides agree on a shift factor, and the 16-bit value is multiplied by a power of two, up to a window of about 1 GB. All modern operating systems enable window scaling by default and tune their buffers automatically. Problems still appear when a middlebox strips the option from the handshake, or when an application sets a small fixed socket buffer.
4.3 Packet Loss and the Mathis Formula
Even with a large window, a connection rarely reaches the full BDP on a long path. Loss is the reason. Classic TCP congestion control, in the style of TCP Reno, halves its sending window when it detects a lost packet and then grows it again by about one segment per RTT. The longer the RTT, the slower the recovery.
In 1997 Matthew Mathis and colleagues derived a simple upper bound for this behaviour, now known as the Mathis formula:
throughput <= (MSS / RTT) x (1.22 / sqrt(p))
Here MSS is the maximum segment size, the payload of one TCP packet, usually 1,460 bytes on Ethernet. RTT is the round-trip time and p is the packet loss rate. The formula says that throughput falls in direct proportion to RTT and with the square root of the loss rate.
Take MSS = 1,460 bytes, RTT = 100 ms and p = 1 %. Then MSS / RTT = 11,680 bits / 0.1 s = 116,800 bit/s. The factor 1.22 / sqrt(0.01) = 12.2. The result is about 1.4 Mbit/s. With a loss rate of 0.01 %, the factor becomes 122, and the limit rises to about 14 Mbit/s. In both cases the link could be 1 Gbit/s; the single connection would never come close.
Modern algorithms behave differently. CUBIC, the default in Linux, Windows and macOS, grows its window faster after a loss. BBR, developed at Google, estimates bandwidth and RTT directly and does not treat every loss as a signal of congestion. Both do better than the Mathis bound on long paths. But the basic pattern remains for every loss-based design: the product of loss and RTT hurts.
4.4 Throughput Limits at a Glance
The following table applies both limits to three RTT values: a nearby server (20 ms), a transatlantic one (100 ms) and a very distant one (300 ms). All values are for one connection and an MSS of 1,460 bytes.
| RTT | 64 KB window, no scaling | Mathis, p = 1 % | Mathis, p = 0.01 % |
|---|---|---|---|
| 20 ms | ~26 Mbit/s | ~7.1 Mbit/s | ~71 Mbit/s |
| 100 ms | ~5.2 Mbit/s | ~1.4 Mbit/s | ~14 Mbit/s |
| 300 ms | ~1.7 Mbit/s | ~0.5 Mbit/s | ~4.7 Mbit/s |
Every row shows the same thing. Multiply the RTT by five, and the ceiling falls by five. None of these numbers depends on the bandwidth that the provider sells. This is why large downloads use several parallel connections, why CDNs cache content near the user, and why the size of the BDP matters to anyone who tunes servers for long-distance traffic.
For a typical web page, however, these steady-state limits are rarely reached. Most web responses are small, and the connection never grows large enough to hit them. What limits small transfers is the start of the connection: the handshakes and the first few round trips of slow start. That is where TCP's design, and the reasons for QUIC, come in. The next section begins with TCP itself.
5. TCP: A Reliable Byte Stream and Its Round Trips
TCP (Transmission Control Protocol, RFC 793, today RFC 9293) gives an application a reliable, ordered stream of bytes. Below TCP, the IP layer delivers single packets on a best-effort basis: packets can be lost, duplicated or reordered. TCP hides all of that. The first article of this series, The OSI Model in Practice, shows where TCP sits in the stack.
This reliability is paid for in round trips. Before data flows, both sides must agree on starting numbers. During the transfer, the sender waits for acknowledgements. After a loss, it must notice the gap and send again. Each step is tied to the RTT.
5.1 Sequence Numbers and Acknowledgements
TCP numbers every byte. The sequence number in a segment says where its first byte sits in the stream. The receiver answers with an acknowledgement number (ACK): the next byte it expects. An ACK of 5,001 means "I have every byte up to 5,000". This cumulative acknowledgement is simple and robust, but it can only describe one point in the stream. Section 9 shows why that matters after a loss.
Each side picks a random initial sequence number (ISN). Random ISNs make it hard to inject fake segments and stop old segments from an earlier connection being mistaken for new ones. Because each side chooses its own ISN, both must announce their number and confirm the other one. That is the job of the handshake.
5.2 The Three-Way Handshake
The client sends a SYN with its ISN. The server answers with a SYN-ACK that carries its own ISN and acknowledges the client's. The client confirms with an ACK. Time runs downwards; each diagonal line is one trip across the network.
Client (Frankfurt) Server (New York)
| |
t=0 |--- SYN seq=x ----------------------------->|
| |
|<-- SYN-ACK seq=y ack=x+1 ------------------|
| |
t=1 |--- ACK ack=y+1 + first request bytes ----->| <- 1 RTT spent
| |
|<-- first response bytes -------------------|
t=2 | | <- 2 RTT total
The client may send its first data together with the final ACK. So the handshake costs exactly 1 RTT before the first application byte leaves the client, and the first response byte arrives after a second RTT. For the Frankfurt user, the handshake alone costs about 10 ms to Paris, 85 ms to New York and 270 ms to Sydney. No amount of bandwidth makes it shorter.
5.3 Closing, TIME_WAIT and Connection Reuse
Closing is also a small exchange: each side sends a FIN and receives an ACK. The side that closes first enters the TIME_WAIT state and keeps the old address and port pair blocked for twice the maximum segment lifetime (2 x MSL), 60 seconds on Linux. This stops delayed segments of the old connection from being mistaken for data of a new one. It costs the user no round trips, but a busy client or proxy that opens many short connections can run out of local ports.
The cheapest handshake is the one you do not perform. HTTP/1.1 keeps connections open by default (persistent connections, often called keep-alive), and HTTP/2 and HTTP/3 multiplex many requests over one connection. A reused connection has already paid its handshake and has already grown its congestion window (section 6). A second request on a warm connection to New York costs about 85 ms; on a cold connection it costs several times that, as section 8 shows. Servers should keep idle connections open for a reasonable time, and pages should use as few origins as possible.
6. Slow Start and Congestion Control
A TCP sender does not know the capacity of the path. If it sent at full speed from the start, it could overflow a router queue and cause losses for everybody on that link. So TCP limits the unacknowledged data in flight. This limit is the congestion window (cwnd). Congestion control is the set of rules that grows and shrinks it.
6.1 The Initial Window and Slow Start
A new connection starts with a small initial window. Since RFC 6928 (2013), the standard value is 10 segments. With a maximum segment size (MSS) of 1,460 bytes, that is 10 x 1,460 = 14,600 bytes, about 14 KB. Older stacks used 2 to 4 segments.
In slow start, the sender increases cwnd by one segment for every acknowledged segment, which doubles cwnd every round trip. The name is misleading: the growth is exponential. It only feels slow because each doubling costs one full RTT.
| Round trip | cwnd (segments) | Sent so far (segments) | Sent so far (bytes) |
|---|---|---|---|
| 1 | 10 | 10 | 14.6 KB |
| 2 | 20 | 30 | 43.8 KB |
| 3 | 40 | 70 | 102.2 KB |
| 4 | 80 | 150 | 219 KB |
Slow start ends at the first loss, or when cwnd reaches the slow start threshold (ssthresh). After that, congestion avoidance grows cwnd much more carefully.
6.2 The 14 KB Rule
A response that fits into 14,600 bytes arrives completely after one round trip of data. A 100,000-byte response needs 69 segments: 10 in the first round trip, 20 in the second, the rest in the third. This is the origin of the "14 KB rule": keep the critical part of the first HTML response (the HTML itself and inline critical CSS) within roughly 14 KB after compression, and the browser can start rendering one or two round trips earlier.
The rule is an approximation. Headers take some space, the TLS handshake already uses part of the first window, and some servers configure a larger initial window. The principle holds: on a new connection, the size of a response is measured in round trips, not in bytes.
6.3 Why Short Web Transfers Never Leave Slow Start
Most web responses are between a few kilobytes and a few hundred kilobytes. A 219 KB response completes within four round trips of slow start. At 100 Mbit/s and 100 ms RTT, the BDP from section 4 is 1.25 MB, and slow start needs about seven round trips to grow cwnd from 14.6 KB to that size. A typical web response is finished long before the sender ever uses the link's capacity.
This is the practical meaning of Belshe's result from section 1. For small transfers, the duration is set by the number of round trips, and slow start sets that number. More bandwidth does not reduce it; a shorter RTT makes every round trip cheaper.
Two details make it worse. Linux by default returns to slow start after a connection has been idle longer than its retransmission timeout (net.ipv4.tcp_slow_start_after_idle = 1), so a keep-alive connection can lose its large window between page views. And an early loss ends slow start and halves the window, so one lost packet can add several round trips to a small download.
6.4 CUBIC and BBR
Classic TCP (Reno) grows cwnd by one segment per RTT in congestion avoidance and halves it on loss. This is too slow on paths with a large BDP. Two algorithms dominate today.
- CUBIC, the Linux default since 2006, grows cwnd along a cubic curve after a loss: fast at first, flat near the window where the last loss happened, then fast again. Its growth depends on time, not on RTT, which makes it fairer between flows with different RTTs. It is still loss-based.
- BBR (Bottleneck Bandwidth and Round-trip propagation time, Cardwell et al., Google, 2016) is model-based. It measures delivery rate and minimum RTT and tries to send at the bottleneck rate while keeping queues small. It does not treat every loss as congestion, which helps on lossy mobile paths.
Both change behaviour in congestion avoidance. Neither removes slow start or the handshake. For the first few hundred kilobytes of a new connection, the round trip count stays almost the same.
7. TLS on Top: Two, One or Zero Round Trips
Almost all web traffic is encrypted with TLS (Transport Layer Security). TLS runs on top of TCP, starts only after the TCP handshake, and adds its own handshake: client and server agree on a cipher, the server proves its identity with a certificate, and both derive shared keys. The cost depends on the TLS version.
7.1 TLS 1.2: Two Round Trips
In the first round trip of a full TLS 1.2 handshake, the client sends ClientHello and the server answers with ServerHello, its certificate and key exchange parameters. In the second, the client sends its key exchange and Finished, and the server answers with Finished. Only then may the HTTP request leave.
Client Server
|--- TCP SYN ---------------------------------------->|
|<-- SYN-ACK -----------------------------------------| RTT 1
|--- ACK + ClientHello ------------------------------>|
|<-- ServerHello, Certificate, KeyExchange, Done -----| RTT 2
|--- ClientKeyExchange, ChangeCipherSpec, Finished -->|
|<-- ChangeCipherSpec, Finished ----------------------| RTT 3
|--- HTTP request (encrypted) ----------------------->|
|<-- HTTP response -----------------------------------| RTT 4
Without DNS, the first response byte arrives after 4 RTT. From Frankfurt to Sydney that is about 4 x 270 = 1,080 ms.
7.2 TLS 1.3: One Round Trip
TLS 1.3 (RFC 8446, 2018) removed the second round trip. The client guesses which key exchange the server will accept and sends its key share in the ClientHello. The server computes the keys at once and answers with ServerHello, its key share, the encrypted certificate and Finished in one flight. The client sends Finished and its HTTP request together.
Client Server
|--- TCP SYN ---------------------------------------->|
|<-- SYN-ACK -----------------------------------------| RTT 1
|--- ACK + ClientHello (key share) ------------------>|
|<-- ServerHello, Certificate, Finished --------------| RTT 2
|--- Finished + HTTP request ------------------------>|
|<-- HTTP response -----------------------------------| RTT 3
The full handshake costs 1 RTT, so the first response byte arrives after 3 RTT instead of 4. If the server rejects the guessed key group, it sends a HelloRetryRequest and the handshake costs one extra RTT. Modern clients rarely guess wrong.
7.3 Session Resumption
A returning client can resume a session instead of doing a full handshake. The server gives it a ticket, which in TLS 1.3 becomes a pre-shared key (PSK) on the next connection. Resumption skips the certificate and saves CPU, but in TLS 1.3 it still costs 1 RTT. In TLS 1.2, resumption reduces the handshake from 2 RTT to 1 RTT.
7.4 0-RTT Early Data and Replay
With a resumption PSK, a TLS 1.3 client can also send 0-RTT early data: application data encrypted with keys from the earlier session, sent in the very first flight with the ClientHello. TLS adds no extra round trip. Over TCP, the TCP handshake still costs 1 RTT first; section 13 shows how QUIC removes that too.
The catch is replay. An attacker who records the first flight can send it again, and the server cannot always tell the copy from the original. A replayed "GET /news" is harmless; a replayed "POST /transfer" is not. Early data should therefore only carry idempotent requests, which have the same effect when executed twice. RFC 8470 defines the HTTP side: a server or CDN marks requests that arrived as early data, and the origin can reject them with status 425 Too Early, after which the client repeats the request once the handshake is complete.
Every handshake trades safety for round trips. TLS 1.3 removed one round trip at no cost to security. 0-RTT removes another, but only for requests that can safely happen twice.
8. A Cold Page Load, Round Trip by Round Trip
Now we add everything up for a cold page load: no cached DNS entry, no open connection, no session ticket. We count round trips until the first byte of HTML arrives.
- DNS: 1 RTT to the resolver if the name is not cached; more if the resolver must recurse.
- TCP handshake: 1 RTT.
- TLS: 2 RTT for TLS 1.2, 1 RTT for TLS 1.3.
- HTTP request and first response byte: 1 RTT.
For simplicity we assume the resolver is as far away as the server. A nearby resolver is often faster, an uncached name much slower.
8.1 A Timeline at 100 ms RTT
The timeline shows TCP with TLS 1.3 at 100 ms RTT, roughly a Frankfurt user and a server on the US east coast over a slightly worse path.
time (ms) 0 100 200 300 400
|---------|---------|---------|---------|
DNS [ query ]
TCP [ SYN ]
TLS 1.3 [ hello ]
HTTP [ req/res ]
^
first byte at 400 ms
Four round trips pass before the browser sees one byte of HTML. During those 400 ms almost no useful data moves, and the bandwidth of the link plays no role.
8.2 The Cost at Different RTTs
The same round trip count gives very different times at 20 ms (a nearby CDN edge), 100 ms (an intercontinental path) and 300 ms (a far server over a poor mobile link).
| Setup | Round trips | 20 / 100 / 300 ms RTT |
|---|---|---|
| TCP + TLS 1.2 | 5 RTT | 100 / 500 / 1,500 ms |
| TCP + TLS 1.3 | 4 RTT | 80 / 400 / 1,200 ms |
| QUIC 1-RTT | 3 RTT | 60 / 300 / 900 ms |
| QUIC 0-RTT, DNS cached | 1 RTT | 20 / 100 / 300 ms |
At 20 ms, the best and worst setups differ by 80 ms, which users barely notice. At 300 ms they differ by 1.2 seconds: the difference between a page that feels instant and one that feels broken. Protocol improvements matter most where the RTT is high.
8.3 Adding the Response Body: 100 KB with Slow Start
Now assume the HTML is 100,000 bytes. As section 6 showed, its 69 segments need three round trips of data: 10, then 20, then the remaining 39 of a 40-segment window. The first of these is the HTTP round trip already counted, so the body adds two more.
RTT event cwnd delivered
1 DNS answer - -
2 TCP handshake done - -
3 TLS 1.3 handshake done, request sent - -
4 first 10 segments arrive (first byte) 10 14.6 KB
5 next 20 segments arrive 20 43.8 KB
6 last 39 segments arrive 40 100 KB
At 100 ms RTT, the complete HTML arrives after about 600 ms with TCP and TLS 1.3, about 700 ms (7 RTT) with TLS 1.2 and about 500 ms (5 RTT) with QUIC 1-RTT. These figures ignore server processing and serialisation delay and simplify how handshake bytes affect the window. The pattern is still clear: transmitting 100 KB at 100 Mbit/s takes about 8 ms. Everything else is waiting for round trips.
A 14 KB HTML document would arrive complete with the first byte, at 400 ms. Shrinking the critical HTML saves two round trips, 200 ms at this RTT, which is often more than any server-side optimisation can win. And this is only the HTML: every new origin for CSS, scripts, fonts or images needs its own DNS lookup and handshakes, and every new connection starts in slow start again. Section 18 covers how to avoid most of these.
9. Loss, Retransmission and Head-of-Line Blocking in TCP
Packets get lost: a router queue overflows, a Wi-Fi frame is corrupted, a phone changes cells. TCP must detect the loss and send the data again, and how fast it does so depends on the RTT.
9.1 The Retransmission Timeout
The basic mechanism is a timer. The sender keeps a smoothed RTT (SRTT) and its variation (RTTVAR) and computes the retransmission timeout, roughly RTO = SRTT + 4 x RTTVAR. If no ACK arrives before the RTO expires, it retransmits the oldest unacknowledged segment. RFC 6298 sets the initial RTO to 1 second and a minimum of 1 second; Linux uses a minimum of 200 ms. After each timeout the RTO doubles and the congestion window collapses.
An RTO is expensive. On a 20 ms path, 200 ms is ten round trips of idle time. A lost SYN is worse: with no RTT sample yet, the client waits the full initial 1 second.
9.2 Fast Retransmit and SACK
When a segment is lost but later ones arrive, the receiver sends duplicate ACKs for the last byte before the gap. After three duplicate ACKs, the sender retransmits at once. This fast retransmit costs about one RTT instead of a timeout.
Cumulative ACKs only show where the first gap begins. With several losses in one window, the sender would learn about them one RTT at a time. Selective acknowledgements (SACK, RFC 2018) list byte ranges that arrived beyond the gap, so the sender sees several holes at once. TCP option space is small, so one ACK carries at most 3 to 4 SACK blocks.
9.3 Tail Loss and RACK-TLP
Fast retransmit needs later segments to arrive. If the last segment of a response is lost, no duplicate ACKs come back, and the sender falls back to the RTO. Short web responses hit this case often.
RACK-TLP (RFC 8985, 2021) improves this. RACK (Recent ACKnowledgment) uses time instead of counting duplicates: if a later segment is acknowledged and an earlier one is not, the earlier one is declared lost after a short reordering window. TLP (Tail Loss Probe) resends the last segment about two RTTs after the last transmission if nothing was acknowledged. The resulting ACK reveals the loss, so recovery takes a few RTTs instead of a long timeout. Linux uses RACK-TLP by default.
9.4 Karn's Algorithm
TCP retransmits the same bytes with the same sequence numbers. When the ACK arrives, the sender cannot tell whether it belongs to the original or the retransmission, so the RTT sample is ambiguous. Karn's algorithm simply ignores RTT samples from retransmitted segments. Section 14 shows how QUIC avoids the ambiguity by design.
9.5 Head-of-Line Blocking
TCP delivers one ordered byte stream. If segment 2 is lost, the receiver may already hold segments 3, 4 and 5, but it cannot pass them to the application until segment 2 arrives again. This is head-of-line (HOL) blocking at the transport layer.
Sender sends: [1:css] [2:js] [3:img] [4:css] [5:img]
Network: ok LOST ok ok ok
Receiver buffer: [1] [ ] [3] [4] [5]
Delivered to app: 1 ......... waiting for 2 .........
retransmit of 2 arrives (+1 RTT)
Delivered to app: 2, 3, 4, 5
With HTTP/2, the segments belong to different responses. Only the script lost data, but the stylesheet and the image wait too, because TCP knows nothing about separate streams. Every loss stalls all streams for at least one RTT. HTTP/1.1 vs HTTP/2 vs HTTP/3 in Practice shows the effect at the HTTP level. The point here is that the blocking is built into TCP's single ordered stream, and no HTTP version on top of TCP can remove it.
10. Why Not Just Fix TCP? Ossification
Many of these problems have known fixes: data in the SYN, more SACK blocks, several independent streams per connection. Why build a new transport instead? The answer is ossification: the network has become so rigid that TCP can no longer change in practice.
10.1 Kernels and Middleboxes
TCP lives in the operating system kernel, so a new feature needs a new kernel on both ends. Servers update within months, but phones, smart TVs and embedded devices may run the same kernel for years.
The bigger problem sits between the endpoints. Firewalls, NAT devices, load balancers and traffic shapers, called middleboxes, read and sometimes rewrite TCP headers. Many accept only the TCP they knew when they were built: they drop packets with unknown options, strip options or rewrite sequence numbers. Because TCP headers are not encrypted, every middlebox can inspect them and make assumptions, and those assumptions froze the protocol.
10.2 The TCP Fast Open Story
TCP Fast Open (TFO, RFC 7413, 2014) shows the problem clearly. TFO lets a returning client send data in the SYN, using a cookie the server issued earlier, which saves the handshake round trip on repeat connections.
On the public web, TFO largely failed. Some middleboxes dropped SYNs that carried data or the unknown option, so connections failed or had to be retried without TFO, costing more time than they saved. The cookie also raised privacy concerns, because a server could use it to recognise a returning client. Chrome removed its support. A standardised and implemented idea could not be deployed because of the network in between.
10.3 MPTCP and ECN
Multipath TCP (MPTCP, RFC 8684) lets one connection use several paths, such as Wi-Fi and LTE at once. To survive middleboxes, it hides its signalling in TCP options and falls back to plain TCP when they are stripped. Apple uses it for some of its own services, but it remains rare on the public web.
Explicit Congestion Notification (ECN, RFC 3168, 2001) lets routers mark packets instead of dropping them. Some devices mishandled the ECN bits, and operating systems kept it disabled by default for client connections for many years. A change to a few header bits took a very long time to deploy.
10.4 The Way Out: Build on UDP and Encrypt Everything
A new transport cannot be deployed as a change to TCP, and a new IP protocol number would be blocked by most firewalls and NATs. What passes almost everywhere is UDP, which adds only ports and a checksum. A transport on top of UDP can implement reliability, congestion control and streams itself, in user space, and ship with an application update instead of a kernel update.
To avoid ossifying again, it must also hide its headers from middleboxes. If almost everything is encrypted, there is nothing for a middlebox to depend on, and the protocol stays free to evolve. That is exactly the design of QUIC, which the next sections explore.
11. QUIC: Why It Runs over UDP
The previous section ended with a simple conclusion. TCP cannot change quickly, because kernels and middleboxes freeze its behaviour. A better transport has to be built where the network does not look. QUIC does exactly that. It is a complete transport protocol with connections, reliability, ordering, flow control, congestion control and encryption. On the wire, however, every QUIC packet travels inside a plain UDP datagram.
11.1 What UDP Gives and What It Lacks
UDP (User Datagram Protocol) is the thinnest transport the internet offers. Its header is only 8 bytes long: four fields of 16 bits each.
0 16 31 (bit offset)
+---------------+---------------+
| Source port | Dest. port |
+---------------+---------------+
| Length | Checksum |
+---------------+---------------+
| Payload (here: one or more QUIC packets)
+-------------------------------
The ports tell the operating system which application gets the datagram. The checksum detects corrupted data. Everything else is missing: no connection, no reliability, no ordering, no congestion or flow control and no encryption. For QUIC, this emptiness is the point. UDP costs almost nothing and makes no decisions, so QUIC can fill every gap in its own code. In terms of The OSI Model in Practice, QUIC is a transport layer protocol, and UDP is only the envelope that gets it through the network.
Why not a new IP protocol number, like TCP (6) and UDP (17)? SCTP tried this and shows the problem. Home routers, NAT devices and firewalls only understand TCP and UDP, and they often drop anything else. UDP, on the other hand, passes almost everywhere, because DNS, video calls and games depend on it.
11.2 User Space Instead of the Kernel
TCP lives in the operating system kernel. To change it, you must update the kernel on billions of devices, and many never get that update. QUIC runs in user space, as a library inside the browser, the app or the server process. A new browser release ships a new QUIC version. A server team can deploy a new congestion controller with a normal software release. This is why QUIC could move from experiment to standard in less than ten years.
11.3 Encryption Against Ossification
The second lesson from TCP is that anything visible on the wire will be inspected, and anything inspected will be frozen. QUIC therefore encrypts almost everything. The payload is always protected with TLS 1.3 keys. Most header fields, including the packet number, are hidden by a step called header protection. A middlebox sees only a few flag bits, the version (during the handshake) and the connection IDs.
RFC 8999 defines this small visible part as the version-independent "invariants" of QUIC. Everything else may change between versions. QUIC version 2 (RFC 9369, 2023) is almost identical to version 1. One of its purposes is to keep networks from treating version 1 as the only valid QUIC.
11.4 A Short History
| Year | Milestone |
|---|---|
| 2012 | Google starts work on QUIC |
| 2013 | First deployment in Chrome and on Google servers |
| 2016 | IETF QUIC working group formed |
| May 2021 | RFC 9000, 9001, 9002 and 8999 published |
| June 2022 | HTTP/3 published as RFC 9114 |
| 2023 | QUIC version 2, RFC 9369 |
The IETF version differs a lot from Google's original. For example, it uses standard TLS 1.3 instead of Google's own crypto handshake. In this article, "QUIC" means the IETF version.
11.5 Why Not Run QUIC over TCP?
Why not keep TCP for reliability and put QUIC's ideas on top? Because of head-of-line blocking (section 9). TCP delivers one ordered byte stream. If one segment is lost, the kernel holds back every byte after it, even bytes that belong to independent streams. Any protocol on top of TCP inherits this. Multiplexing over TCP is exactly what HTTP/2 already does, and it suffers from it on lossy links. So the fallback for QUIC is not "QUIC over TCP". It is simply HTTP/2 over TCP and TLS. When UDP is blocked, the browser uses the older stack: the page still loads, only more slowly.
12. Inside QUIC: Packets, Connection IDs and Streams
This section looks at what QUIC actually sends. We skip most bits and focus on the parts that affect round trips.
12.1 Long and Short Headers
The first bit of every packet selects one of two header formats. The long header is used during the handshake. It carries the version and both connection IDs. There are four long header types: Initial, 0-RTT, Handshake and Retry.
Long header (Initial, 0-RTT, Handshake, Retry)
+-----------------------------------------------------------+
| Form=1 | Fixed=1 | Type (2 bits) | type-specific bits |
| Version (32 bits) |
| DCID length (8 bits) | Destination Connection ID |
| SCID length (8 bits) | Source Connection ID |
| Type-specific fields (Initial: Token, Length, Packet No.) |
| Protected payload: frames |
+-----------------------------------------------------------+
The short header is used for all data after the handshake, in so-called 1-RTT packets. It has one byte of flags, the destination connection ID and a packet number of 1 to 4 bytes. There is no version and no source connection ID. The receiver chose its own ID, so it knows the length.
Short header (1-RTT)
+-----------------------------------------------------------+
| Form=0 | Fixed=1 | Spin | Reserved | Key Phase | PN length |
| Destination Connection ID (length known to the receiver) |
| Packet Number (1-4 bytes, protected) |
| Protected payload: frames |
+-----------------------------------------------------------+
The optional spin bit lets an observer estimate the RTT without decrypting anything. Several QUIC packets can also be coalesced into one UDP datagram. A server often sends an Initial, a Handshake and a 1-RTT packet together. This saves datagrams, not round trips.
12.2 Connection IDs
A TCP connection is identified by its 4-tuple: source IP, source port, destination IP and destination port. If one of them changes, the connection is gone. QUIC identifies a connection by connection IDs of up to 20 bytes. Each endpoint chooses the IDs that the other side puts in the destination field. Because the connection does not depend on addresses, it can survive a change of IP address or port (section 15).
12.3 Packet Number Spaces
QUIC uses three packet number spaces, each with its own keys and its own numbering from 0:
- Initial: the first handshake packets. Their keys are derived from the client's connection ID and a public salt, so this is obfuscation against middleboxes, not secrecy.
- Handshake: the rest of the TLS handshake, with keys from the handshake itself.
- Application data: 0-RTT and 1-RTT packets with the real data.
Separate spaces keep the stages apart, so an acknowledgement for a Handshake packet can never be confused with one for application data. After the handshake, the Initial and Handshake keys are discarded.
12.4 Frames
After decryption, a packet's payload is a sequence of frames. A frame is a small typed message. One packet can carry an acknowledgement, stream data and a flow control update together.
| Frame | Purpose |
|---|---|
| PADDING | Fills a packet, for example to 1,200 bytes |
| PING | Asks for an ACK; keeps a path alive |
| ACK | Acknowledges packet number ranges, with ACK Delay |
| CRYPTO | Carries TLS handshake messages |
| STREAM | Carries application data for one stream |
| MAX_DATA, MAX_STREAM_DATA | Flow control credit |
| NEW_CONNECTION_ID | Gives the peer a spare connection ID |
| PATH_CHALLENGE, PATH_RESPONSE | Check that a new path works |
| NEW_TOKEN | Token for address validation next time |
| HANDSHAKE_DONE | Server confirms the handshake |
The TLS handshake travels in CRYPTO frames. There is no separate TLS record layer as with TCP. QUIC and TLS are combined, and this is the basis of the shorter handshake.
12.5 Streams
A QUIC connection carries many independent streams, each an ordered byte sequence of its own. HTTP/3 maps each request and response to one stream. Stream IDs, stream types and HTTP/3 framing are covered in HTTP/1.1 vs HTTP/2 vs HTTP/3 in Practice, so we do not repeat them. For latency, one property counts: QUIC orders data per stream, not per connection.
13. The QUIC Handshake: 1-RTT and 0-RTT
With TCP and TLS, the transport handshake and the security handshake run one after the other: 1 RTT for TCP, then 1 RTT for TLS 1.3. QUIC merges both. The client's first packet already contains the TLS ClientHello. The transport parameters (limits such as the number of streams or the idle timeout) travel inside the TLS handshake as an extension.
13.1 The 1-RTT Handshake
Client Server
| |
| Initial[CRYPTO: ClientHello] + PADDING |
| (one UDP datagram, at least 1,200 bytes) |
|------------------------------------------------------->|
| |
| Initial[CRYPTO: ServerHello, ACK] |
| Handshake[CRYPTO: EncryptedExtensions, Certificate, |
| CertificateVerify, Finished] |
|<-------------------------------------------------------|
| 1 RTT: client has all keys |
| Handshake[CRYPTO: Finished, ACK] |
| 1-RTT[STREAM: HTTP request] |
|------------------------------------------------------->|
| |
| 1-RTT[HANDSHAKE_DONE, STREAM: response] |
|<-------------------------------------------------------|
| 2 RTT: first response byte |
After one round trip, the client has verified the server and holds the 1-RTT keys. It sends its Finished message and the request in the same flight. The first response byte arrives after 2 RTT, compared with 3 RTT for TCP with TLS 1.3. Add 1 RTT for DNS and we get the numbers from section 8: 3 RTT against 4 RTT.
13.2 The 1,200-Byte Initial and the Amplification Limit
The client must pad its first Initial so that the UDP datagram is at least 1,200 bytes. This checks early that the path carries datagrams of this size, and it limits amplification attacks. UDP has no handshake, so an attacker can send a small packet with a forged source address. If the server replied with much more data, it would flood the victim. QUIC therefore limits the server: before it has validated the client's address, it may send at most 3 times the bytes it has received. For one 1,200-byte Initial, that is 3 x 1,200 = 3,600 bytes.
This has a latency cost. A long certificate chain can push the server's first flight above 3,600 bytes. The server must then wait for more bytes from the client, and the handshake takes an extra RTT. Short chains and small ECDSA certificates help to stay under the limit.
13.3 Retry and Tokens
A server under attack can ask a client to prove its address first. It answers the Initial with a Retry packet containing a token, and the client sends its Initial again with the token. This protects the server, but it costs 1 full RTT, so servers should use Retry only under load. Returning clients have a cheaper path: the server sends a NEW_TOKEN frame during a connection, and the client includes this token in its next Initial. The address is validated at once, without a Retry and without the amplification limit.
13.4 0-RTT: The Request in the First Flight
A client that connected before may hold a TLS session ticket. With it, the client derives keys for 0-RTT packets and sends the request together with the Initial.
Client Server
| |
| Initial[CRYPTO: ClientHello + session ticket] |
| 0-RTT[STREAM: GET /] |
|------------------------------------------------------->|
| |
| Initial[ServerHello] Handshake[..., Finished] |
| 1-RTT[STREAM: HTTP response] |
|<-------------------------------------------------------|
| 1 RTT: first response byte |
With a cached DNS entry, the whole request takes 1 RTT. At 100 ms RTT, that is 100 ms instead of 400 ms for a cold TCP and TLS 1.3 connection.
0-RTT has the same limits as in TLS 1.3 over TCP. An attacker who records the first flight can replay it. Clients should therefore send only idempotent requests, such as a GET without side effects, as early data. A server can reject early data or answer 425 Too Early (RFC 8470), and the client repeats the request after the handshake. If 0-RTT is rejected, the connection simply falls back to 1-RTT. Nothing breaks, but the round trip is not saved.
13.5 Comparison
The table counts round trips before the first response byte. "Cold page" includes 1 RTT for DNS, as in section 8; the last row assumes cached DNS.
| Setup | Handshake RTT | Cold page | At 100 ms |
|---|---|---|---|
| TCP + TLS 1.2 | 3 | 5 RTT | 500 ms |
| TCP + TLS 1.3 | 2 | 4 RTT | 400 ms |
| QUIC 1-RTT | 1 | 3 RTT | 300 ms |
| QUIC 0-RTT | 0 | 1 RTT | 100 ms |
For a user in Frankfurt loading a page from Sydney at about 270 ms RTT, each saved round trip is more than a quarter of a second.
14. Loss Recovery in QUIC
Real networks lose packets, and the way a transport recovers decides how long the user waits. QUIC's loss recovery (RFC 9002) takes many ideas from modern TCP, such as SACK and RACK-TLP, but starts from a cleaner design.
14.1 Packet Numbers Are Never Reused
TCP numbers bytes. A retransmission carries the same sequence numbers as the original, so the sender cannot tell which copy an ACK refers to. Karn's algorithm works around this by ignoring such RTT samples. QUIC separates the packet from the data. Every packet gets a new, strictly increasing packet number. Resent data goes into a new packet with a new number, while the STREAM frame keeps the original stream offset. Every ACK therefore refers to exactly one transmission and gives a clean RTT sample.
14.2 Rich ACK Frames and ACK Delay
A TCP SACK option fits only 3 to 4 blocks, because TCP options are limited to 40 bytes. A QUIC ACK frame can list many ranges, so even scattered losses are described in one ACK. The frame also has an explicit ACK Delay field. Receivers often wait briefly to acknowledge several packets at once. In TCP, this wait hides inside the RTT sample. In QUIC, the receiver reports it and the sender subtracts it. Each endpoint also announces its longest delay (max_ack_delay, 25 ms by default).
14.3 Packet and Time Thresholds
Once a later packet has been acknowledged, QUIC declares an earlier packet lost in two ways:
- Packet threshold: a packet sent at least 3 numbers later has been acknowledged. This matches TCP's fast retransmit after 3 duplicate ACKs.
- Time threshold: the packet is older than 9/8 of the RTT (the larger of smoothed and latest RTT). The extra 1/8 tolerates small reordering.
The time threshold matters at the end of a transfer, when there may not be 3 later packets.
14.4 Probe Timeout Instead of RTO
Sometimes no ACK arrives at all, for example when the last packets of a response are lost. TCP then waits for the RTO, which RFC 6298 sets to at least 1 s, and collapses its congestion window. QUIC uses a Probe Timeout: PTO = smoothed_rtt + max(4 x rttvar, 1 ms) + max_ack_delay. When it fires, QUIC declares nothing lost and keeps its congestion window. It sends one or two probe packets to provoke an ACK, and the ACK shows what was really lost. Only after repeated failures over a longer period does QUIC declare persistent congestion and reset the window. At 100 ms RTT with small variance, a PTO fires after roughly 150 to 200 ms instead of 1 s.
14.5 Loss Affects Only One Stream
For web pages, the biggest gain is that a lost packet blocks only the streams whose data it carried. Here, three resources load on streams 0, 4 and 8, and packet 21 is lost.
Sent: #20 [S0] #21 [S4] #22 [S8] #23 [S0] #24 [S8]
Network: ok LOST ok ok ok
Receiver:
stream 0: data from #20 and #23 delivered to the app at once
stream 8: data from #22 and #24 delivered to the app at once
stream 4: waits; its next bytes were in #21
Sender:
ACK for #24 arrives, 24 >= 21 + 3 -> #21 declared lost
stream 4 data resent in a NEW packet #25 (same stream offset)
#25 arrives -> stream 4 continues
Over TCP, streams 0 and 8 would wait too. Head-of-line blocking does not fully disappear, though: inside one stream, data is still delivered in order, so a large JavaScript bundle still waits for its own lost packets.
14.6 Congestion Control Is Pluggable
RFC 9002 describes a controller similar to TCP NewReno, but only as a reference. Because QUIC runs in user space, each implementation can choose CUBIC, BBR or something new, and change it with a server release. The physics from section 4 stays the same: for loss-based algorithms, loss times RTT still limits throughput. QUIC's initial window is also similar to TCP's, typically 14,720 bytes, so slow start costs the same round trips.
15. Connection Migration and Mobile Networks
Mobile users change networks all the time. For TCP, each change ends the connection. For QUIC, it is often only a short interruption.
15.1 Why TCP Connections Break
A TCP connection is bound to its 4-tuple. When a phone moves from Wi-Fi to LTE, it gets a new IP address, and the server cannot match its packets to the old connection. The app must notice the failure, often only after a timeout, and pay for a new TCP handshake, a TLS handshake and the request again. Multipath TCP (section 10) solves this in theory but is rare on the public web.
15.2 NAT Rebinding
The address can also change without the user moving. Many NAT devices drop a UDP mapping after about 30 seconds without traffic. The next packet gets a new external port, and to the server the client seems to have moved. This is called NAT rebinding. QUIC finds the connection through the connection ID, not the address, so it survives.
15.3 Path Validation
Accepting a new address is risky: an attacker could forge it to aim traffic at a victim. QUIC therefore validates every new path:
- One endpoint sends a PATH_CHALLENGE frame with 8 random bytes over the new path.
- The peer answers with a PATH_RESPONSE frame carrying the same 8 bytes.
- Until then, the server sends at most 3 times the bytes received on that path.
Validation takes 1 RTT, but data can flow meanwhile. After a real network change, the sender also resets its congestion controller and RTT estimate, because the old values describe the old path. In RFC 9000, only the client initiates migration, and a server can forbid it with the disable_active_migration transport parameter. Behind a load balancer, packets must be routed by connection ID, not by address, or they reach the wrong server after migration.
15.4 Example: From Wi-Fi to LTE
A user in Frankfurt leaves home while a download is running. The numbers are illustrative: LTE RTT 50 ms, radio promotion 80 ms.
TCP + TLS 1.3 QUIC
--------------------------------- ---------------------------------
t=0 Wi-Fi lost, OS picks LTE t=0 Wi-Fi lost, OS picks LTE
t=80 LTE radio connected t=80 LTE radio connected
old connection is dead; next packet sent on LTE
app must notice it with a new connection ID
(event or timeout) + PATH_CHALLENGE
new TCP handshake (1 RTT) t=130 server answers on the new
TLS 1.3 handshake (1 RTT) path; download continues
request again (1 RTT)
t=230 first byte, at best;
partial download restarts
In the best case, TCP needs 3 RTT after the radio is ready. In practice, apps often wait for a timeout of several seconds first. QUIC needs about one RTT and continues where it stopped. Migration support still varies between browsers, apps and servers, so this is the potential, not a guarantee.
15.5 Radio States
The radio adds its own delay before any protocol starts. To save battery, a phone moves its radio to an idle state after a short pause. The next packet must wait for promotion to the connected state: on LTE about 50 to 100 ms, on 3G often 1 to 2 s, on 5G NR less than on LTE. Wi-Fi power save also adds delay. QUIC cannot remove this cost; it only avoids adding further round trips on top.
15.6 Keep-Alive and Idle Timeout
Because UDP NAT mappings often expire after about 30 seconds, an endpoint can send a small PING frame before that, for example every 15 to 25 seconds. The ACK refreshes the mapping. Each PING also wakes the radio and costs battery, so clients send keep-alives only while more requests are likely. Each endpoint also announces a max_idle_timeout. After that time without packets, the connection is closed silently.
15.7 Privacy
A connection ID that survives network changes could track a user from home Wi-Fi to the mobile network. QUIC prevents this. Endpoints exchange spare IDs with NEW_CONNECTION_ID frames, and the client switches to a fresh ID on each new path. An observer of both paths cannot link them by ID. Together with encrypted headers, a passive observer learns far less about a QUIC connection than about a TCP connection.
16. TCP vs QUIC: Side by Side
The table summarises the differences that matter for latency. The TCP column assumes TLS 1.3 and modern extensions such as SACK and RACK-TLP.
| Aspect | TCP + TLS 1.3 | QUIC |
|---|---|---|
| Runs on | IP, in the kernel | UDP, in user space |
| Standards | RFC 9293, TLS RFC 8446 | RFC 9000, 9001, 9002 |
| New handshake | 2 RTT (TCP 1 + TLS 1) | 1 RTT |
| Resumed handshake | 1 RTT (TCP), 0-RTT TLS | 0 RTT |
| Cold page incl. DNS | 4 RTT | 3 RTT |
| Encryption | Payload only (TLS) | Payload and most headers |
| Connection identity | 4-tuple | Connection IDs |
| Network change | Connection breaks | Migration, path validation |
| Ordering | One byte stream | Per stream |
| Head-of-line blocking | Across all streams | Within one stream only |
| Numbering | Bytes, reused on resend | Packets, never reused |
| ACK information | SACK, 3 to 4 blocks | Many ranges plus ACK Delay |
| Tail loss | RTO (min 1 s) or TLP | PTO probes, no cwnd cut |
| Initial window | 10 segments, 14,600 B | Typically 14,720 B |
| Congestion control | In the kernel | Per application, pluggable |
| Updates | With the OS | With the app or server |
| CPU cost | Low, hardware offload | Higher, little offload |
| Reachability | Works everywhere | UDP blocked on some networks |
Most rows are about round trips. QUIC saves one round trip on each new connection, one more on resumed connections, waits less after loss and keeps connections alive across network changes. Inside a data centre with low RTT and little loss, these gains are small. For a phone in Frankfurt talking to Singapore at 160 ms RTT, every saved round trip is visible. The last two rows are the price, and the next section looks at it in detail.
17. The Costs and Limits of QUIC
QUIC saves round trips, but it is not free. This section lists its main costs, so you can judge when QUIC helps and when plain TCP is still the better tool.
17.1 CPU Cost
TCP has had about forty years of optimisation. The Linux kernel handles TCP, and network cards help with offload features. TSO (TCP Segmentation Offload) lets the kernel hand one large buffer to the card, and the card cuts it into packets. LRO and GRO (Large and Generic Receive Offload) do the reverse on the receiving side.
QUIC runs in user space. Every packet crosses the boundary between the kernel and the application, and every packet is encrypted and decrypted by the application. QUIC also encrypts its packet headers, which costs a second small cryptographic operation per packet. The result is that QUIC needs more CPU per byte than kernel TCP with TLS. For a phone this hardly matters. For a server sending many gigabits per second, it is a real cost.
The main mitigations are batching techniques:
- UDP GSO (Generic Segmentation Offload): the application passes one large buffer, and the kernel or card splits it into many UDP datagrams of equal size.
- UDP GRO: the receiving kernel merges several datagrams of the same flow and hands them up in one call.
sendmmsgandrecvmmsg: system calls that send or receive many datagrams at once, which reduces the number of kernel crossings.
These shrink the gap, but do not close it.
17.2 UDP Blocking and Fallback
A few percent of networks block or throttle UDP on port 443. Most are corporate networks with strict firewalls. A browser cannot know this in advance.
Browsers therefore never depend on QUIC alone. They either race a QUIC attempt against a TCP connection and use whichever completes first, or they try QUIC and quickly fall back to HTTP/2 over TCP. They also remember failures for a while, so the next request goes straight to TCP. Every HTTP/3 deployment must therefore keep a working HTTP/2 path.
Users on blocked networks simply get the TCP numbers from section 8, not the QUIC numbers from section 13.
17.3 Less Visibility for Operators
With TCP, a network operator can read sequence and acknowledgement numbers in the clear. From these, tools can estimate RTT, count retransmissions and find the hop that drops packets.
QUIC encrypts almost everything except a few header fields and the connection ID. Packet numbers and ACK frames are hidden, so a passive observer cannot see loss or retransmissions. This is a deliberate choice: what middleboxes cannot see, they cannot ossify, as section 10 explained. RFC 9000 offers one optional concession, the latency spin bit. If both endpoints enable it, an observer can estimate the RTT of a connection by watching one bit flip once per round trip. Many implementations leave it off. In practice, QUIC debugging relies on endpoint logs such as qlog (section 19).
17.4 UDP and DDoS
UDP has a long history in denial-of-service attacks. Because UDP has no handshake, an attacker can send a small request with a forged source address, and a server sends a large reply to the victim. This is called reflection and amplification.
QUIC was designed with this in mind. The 1,200-byte minimum Initial and the 3x anti-amplification limit from section 13 mean a QUIC server can never send more than 3,600 bytes to an unvalidated address after one Initial. A server under load can send a Retry packet and demand an address validation token, at the cost of one extra round trip. Still, many DDoS protection systems were built around TCP, and some operators rate-limit UDP aggressively, which can push legitimate QUIC traffic back to TCP.
17.5 Implementation Maturity
Every QUIC library implements its own congestion control, loss recovery and flow control. TCP has one main implementation per operating system, tested by billions of devices. QUIC has many: Google's QUICHE in Chromium, Cloudflare's quiche, Microsoft's MsQuic, ngtcp2, quic-go, lsquic and others. They are good, but they differ in tuning, in congestion control defaults and in support for features like connection migration.
Server support has improved a lot since RFC 9000 was published in 2021. Load balancers are often the hardest part. A layer 4 load balancer must route packets by connection ID, not only by the IP address and port, or connection migration breaks.
17.6 When TCP Is the Better Choice
QUIC shines where RTT is high, loss is common and connections are short. Where the opposite is true, TCP often wins:
- Inside a datacentre: RTT is well below 1 ms, loss is rare, and handshake savings are tiny. Kernel TCP with offload uses less CPU.
- Bulk transfer on a clean path: a backup or a large download spends almost all its time in steady state. Saving one round trip at the start of a 10-minute transfer does not matter.
- Long-lived connections between servers: a service that keeps a pool of warm TCP connections already pays the handshake only once.
| Situation | Better choice | Reason |
|---|---|---|
| Mobile client, high RTT | QUIC | Fewer handshakes, migration |
| Lossy last mile | QUIC | No cross-stream HOL blocking |
| Datacentre, sub-ms RTT | TCP | Lower CPU, offload |
| Bulk transfer, low loss | TCP | Handshake cost irrelevant |
| UDP blocked | TCP | QUIC cannot connect |
18. Saving Round Trips Above the Transport
The transport protocol is only one place to save round trips. Many of the largest gains come from decisions above it. The best round trip is the one you never make.
18.1 Reuse and Coalesce Connections
Every new connection costs DNS, a handshake and a fresh slow start. A reused connection costs none of these, and its congestion window is often already large. Keep-alive in HTTP/1.1, and one long-lived connection per origin in HTTP/2 and HTTP/3, give you this reuse for free, as long as servers do not close idle connections too early.
HTTP/2 and HTTP/3 can also coalesce connections. If static.example.com and www.example.com are covered by the same TLS certificate, the browser can send requests for both over one connection. For HTTP/2, browsers usually also require that both names resolve to the same IP address.
18.2 Use Fewer Origins
The old advice for HTTP/1.1 was domain sharding: spread assets across img1, img2 and img3 to get more parallel connections. With HTTP/2 and HTTP/3 this is harmful. Each extra origin costs at least one DNS lookup and one handshake, and each new connection starts slow start from 14 KB again. Serve critical assets from the same origin as the HTML, or from an origin that can be coalesced with it. Every third-party origin on the critical path adds its own round trips.
18.3 DNS: Cache, Prefetch and HTTPS Records
A DNS lookup costs at least one round trip to the resolver when the answer is not cached. Sensible TTLs help: a TTL of a few minutes or more lets resolvers and browsers answer from cache.
RFC 9460 (2023) defines the HTTPS DNS record. It can tell the client in the DNS answer that the server supports HTTP/3 (alpn="h3"). Without it, the browser learns about HTTP/3 only from the Alt-Svc header (RFC 7838) in a response that arrived over TCP. So the first visit uses TCP. With an HTTPS record, even the first connection can use QUIC.
18.4 Preconnect and DNS Prefetch
If a page will need a resource from another origin, the browser can start DNS, TCP and TLS before it discovers the actual request. A preconnect hint does this. It can be sent as an HTTP header:
Link: <https://fonts.example.net>; rel=preconnect
Link: <https://api.example.com>; rel=preconnect; crossorigin
Link: <https://cdn.example.org>; rel=dns-prefetch
A preconnect saves the whole handshake time from the critical path: 3 RTT with TCP and TLS 1.3 including DNS, or 2 RTT with QUIC. dns-prefetch is cheaper and only resolves the name. Use preconnect for two or three origins that you are sure to need.
18.5 103 Early Hints
A server often needs hundreds of milliseconds to build an HTML page. During this time, the connection is idle. RFC 8297 defines the 103 Early Hints status code. The server sends a 103 response with Link headers immediately, and the final 200 response later:
HTTP/1.1 103 Early Hints
Link: </css/main.css>; rel=preload; as=style
Link: <https://cdn.example.org>; rel=preconnect
HTTP/1.1 200 OK
Content-Type: text/html
...
The browser can open connections and fetch the CSS while the server is still working. If the server takes 300 ms to render the page, at an RTT of 100 ms that is three round trips of useful work gained.
18.6 Terminate TLS at the Edge
A CDN places servers close to users. A user in Frankfurt who connects to an edge server in Frankfurt has an RTT of a few milliseconds instead of about 85 ms to an origin in New York. All handshake round trips happen over this short path. The edge server then forwards the request to the origin over a connection that is already open, warm and past slow start.
Count it for a cold request with TCP and TLS 1.3, ignoring DNS. Direct to New York: TCP 1 RTT, TLS 1 RTT and the request 1 RTT, so 3 x 85 ms = 255 ms. Through a Frankfurt edge at 5 ms RTT: 3 x 5 ms = 15 ms for the handshakes and the request to the edge, plus 85 ms for one round trip from the edge to the origin over a warm connection, about 100 ms in total. The handshakes simply moved to the short path.
18.7 Fit the Critical Content into 14 KB
Section 6 showed that a new TCP connection can send about 14,600 bytes in the first round trip, and QUIC about 14,720 bytes. If the HTML response, including headers and compressed, fits into this first flight, the browser has everything it needs to start rendering after one round trip of data. Inline the critical CSS for the visible part of the page and defer the rest. The rule is a guide, not a law: servers may use a different initial window, and TLS records and headers take some of the space.
18.8 Caching: Zero Round Trips
A resource with Cache-Control: max-age=31536000, immutable and a versioned file name is served from the browser cache with zero round trips. A revalidation with ETag and 304 Not Modified still costs a full round trip, even though almost no data is transferred.
19. Measuring RTT and Round Trips
This section shows tools that measure RTT itself, and tools that count the round trips a request really needs.
19.1 ping and mtr
ping sends ICMP echo requests and reports the RTT of each reply. It is the simplest RTT measurement, but routers often treat ICMP with low priority, so the numbers are a rough guide.
ping -c 5 example.com
# 64 bytes from 203.0.113.10: icmp_seq=1 ttl=56 time=86.4 ms
# ...
# rtt min/avg/max/mdev = 85.9/86.6/87.8/0.7 ms
mtr combines ping and traceroute. It shows every hop on the path, with loss and RTT per hop. Loss shown only at a middle hop, but not at the final hop, usually means that router rate-limits ICMP, not that it drops your traffic.
mtr --report --report-cycles 20 example.com
19.2 ss: What the Kernel Knows about TCP
On Linux, ss -ti shows the internal state of each TCP connection. The kernel measures RTT continuously from ACKs, so these values describe real traffic, not test packets.
ss -ti dst example.com
# ESTAB 0 0 10.0.0.5:51234 203.0.113.10:443
# cubic wscale:7,7 rto:288 rtt:86.1/2.3 mss:1448
# cwnd:10 ssthresh:20 bytes_acked:5821 retrans:0/1
The most useful fields:
rtt:86.1/2.3: smoothed RTT and its variation in milliseconds.cwnd: congestion window in segments. A value of 10 means the connection is still at its initial window.ssthresh: the slow start threshold. Below it, cwnd doubles each RTT.retrans: retransmitted segments, current and total.
19.3 curl: Timing Each Phase
curl can print the time at which each phase of a request ended. All values are in seconds, counted from the start of the request.
cat > timing.txt <<'EOF'
dns: %{time_namelookup}
connect: %{time_connect}
tls: %{time_appconnect}
first byte: %{time_starttransfer}
total: %{time_total}
protocol: %{http_version}
EOF
curl -so /dev/null -w @timing.txt https://example.com/
A typical result for a server about 85 ms away, with TCP and TLS 1.3:
dns: 0.021
connect: 0.107 TCP handshake: ~1 RTT after DNS
tls: 0.194 TLS 1.3: ~1 RTT more
first byte: 0.283 request + server time: ~1 RTT
total: 0.285
protocol: 2
Subtract each value from the next to get the length of each phase. If curl was built with HTTP/3 support, add --http3 and compare. With QUIC, time_connect and time_appconnect fall almost together, because transport and TLS share one handshake.
19.4 Wireshark and qlog
Wireshark shows every packet with its timestamp, so you can count round trips directly. In the TCP stream graphs, slow start appears as a staircase where each step is one RTT. For TLS and QUIC, Wireshark needs the session keys. Browsers and curl write them to a file when the SSLKEYLOGFILE environment variable is set:
export SSLKEYLOGFILE="$HOME/tls-keys.log"
curl --http3 -so /dev/null https://example.com/
# In Wireshark: Preferences > Protocols > TLS >
# (Pre)-Master-Secret log filename = ~/tls-keys.log
Treat this file like a password. Because QUIC hides its state from the network, its main debugging format is qlog: a structured JSON log, written by the endpoint, of every packet sent, received, acknowledged and declared lost, plus congestion window and RTT estimates. The qvis web tool turns them into sequence diagrams and congestion graphs. In Chrome, chrome://net-export records a network log that includes QUIC sessions.
19.5 Resource Timing in the Browser
Lab tools show only your own connection. The Resource Timing API lets JavaScript in the page read the same phases for every resource, and nextHopProtocol tells you which protocol was used:
for (const e of performance.getEntriesByType('resource')) {
const dns = e.domainLookupEnd - e.domainLookupStart;
const conn = e.connectEnd - e.connectStart;
const tls = e.secureConnectionStart > 0
? e.connectEnd - e.secureConnectionStart : 0;
const ttfb = e.responseStart - e.requestStart;
console.log(e.nextHopProtocol, e.name,
{ dns, conn, tls, ttfb });
}
nextHopProtocol returns values such as h3, h2 or http/1.1. A value of 0 for DNS and connection time means the request reused an existing connection. For cross-origin resources, these detailed timings are 0 unless the server sends a Timing-Allow-Origin header. Sent to your analytics, these numbers show how many users really get HTTP/3.
20. Practical Checklist
Use this list to review a site or an API.
- Measure first: record RTT, DNS, connect, TLS and TTFB with curl and Resource Timing, for users in your main regions.
- Enable TLS 1.3 on every server and load balancer. It saves one round trip compared with TLS 1.2.
- Enable session resumption. Enable 0-RTT only for idempotent requests, and handle
425 Too Early(RFC 8470). - Enable HTTP/3, keep HTTP/2 over TCP as the fallback, and publish an HTTPS DNS record with
alpn="h3"(RFC 9460) plusAlt-Svc. - Make sure your load balancer routes QUIC by connection ID, so connection migration works.
- Allow UDP 443 in your own firewalls, and do not rate-limit it more than TCP 443.
- Serve content from a CDN or edge close to users, with warm connections to the origin.
- Reduce the origins on the critical path, and use one certificate for related hostnames so connections can coalesce.
- Keep idle connections open long enough for the next user action, not only a few seconds.
- Use DNS TTLs of minutes, not seconds, unless you really need fast failover.
- Add
preconnectfor two or three critical third-party origins, not more. - Send 103 Early Hints when the server needs noticeable time to build the page.
- Keep the first HTML response, compressed and with headers, close to 14 KB. Inline critical CSS.
- Give static assets versioned file names and long
Cache-Controllifetimes. - On Linux servers, check
ss -tifor the congestion control in use, and test BBR for high-RTT or lossy paths. - Watch retransmission rates. Loss multiplied by RTT limits throughput, as the Mathis formula in section 4 shows.
21. Round Trips on One Page
The table below collects the round trip costs from this article. The numbers are for a cold connection unless stated otherwise.
| Step | Cost in RTT | How to save it |
|---|---|---|
| DNS lookup | 1 (more if recursive) | Caching, longer TTL, prefetch |
| TCP handshake | 1 | Reuse, coalescing, QUIC |
| TLS 1.2 handshake | 2 | Upgrade to TLS 1.3 |
| TLS 1.3 handshake | 1 | Resumption, 0-RTT, QUIC |
| QUIC handshake | 1 (transport + TLS) | 0-RTT on resumption |
| QUIC 0-RTT request | 0 extra | Idempotent requests only |
| QUIC Retry | 1 | Use only under attack |
| Learning about h3 | 1 TCP visit | HTTPS DNS record |
| HTTP request | 1 | Caching, Early Hints |
| 100 KB on new connection | 3 of data | 14 KB first flight, warm conn |
| 14 KB on new connection | 1 of data | Keep critical HTML small |
| Lost packet (fast path) | about 1 extra | SACK, RACK-TLP, QUIC ACKs |
| Lost packet (timeout) | RTO, 200 ms to 1 s | Tail loss probes, PTO |
| Cached resource | 0 | Long max-age, versioned URLs |
| Revalidation (304) | 1 | Use immutable assets |
And the totals for a cold request up to the first response byte, including DNS:
| Setup | RTT | At 20 / 100 / 300 ms |
|---|---|---|
| TCP + TLS 1.2 | 5 | 100 / 500 / 1,500 ms |
| TCP + TLS 1.3 | 4 | 80 / 400 / 1,200 ms |
| QUIC 1-RTT | 3 | 60 / 300 / 900 ms |
| QUIC 0-RTT, cached DNS | 1 | 20 / 100 / 300 ms |
22. Conclusion
Bandwidth has grown by orders of magnitude over the last two decades. RTT has not, because it is limited by the speed of light in fibre and by the shape of the cable network. For typical web pages, which are many small transfers, the number of round trips matters more than the size of the pipe.
TCP and TLS were designed in separate layers, and each layer adds its own handshake. Slow start adds round trips for every response larger than about 14 KB on a new connection. A single lost packet blocks every HTTP/2 stream behind it. And the protocol is hard to change, because kernels and middleboxes have frozen it in place.
QUIC answers these problems by starting again on top of UDP. It combines the transport and TLS handshakes, so a new connection needs one round trip and a resumed one can send data immediately. Its packet numbers are never reused, its streams are delivered independently, its connections survive a change of network, and its encryption stops the network from freezing it again.
QUIC has costs: more CPU, UDP blocking in some networks, less visibility for operators and younger implementations. TCP remains the better choice inside datacentres and for long bulk transfers. Many of the biggest gains also come from above the transport: fewer origins, connection reuse, CDNs, Early Hints, small first responses and good caching.
You cannot buy a shorter RTT. You can only make fewer round trips, or make each one shorter by moving closer to the user.
Measure your round trips, count them, and then remove them one by one. The OSI article shows where each of these steps happens in the stack, and the HTTP versions article shows what HTTP/2 and HTTP/3 do with the connection once it exists.
Sources and Further Reading
| Topic | Source |
|---|---|
| TCP (original) | RFC 793 (1981) |
| TCP (current standard) | RFC 9293 (2022) |
| TCP initial window of 10 | RFC 6928 (2013) |
| Window scaling, timestamps | RFC 7323 (2014) |
| Retransmission timer | RFC 6298 (2011) |
| Selective acknowledgement | RFC 2018 (1996) |
| RACK-TLP loss detection | RFC 8985 (2021) |
| TCP Fast Open | RFC 7413 (2014) |
| TLS 1.3 | RFC 8446 (2018) |
| Early data and 425 Too Early | RFC 8470 (2018) |
| QUIC transport | RFC 9000 (2021) |
| QUIC with TLS | RFC 9001 (2021) |
| QUIC loss recovery | RFC 9002 (2021) |
| QUIC invariants | RFC 8999 (2021) |
| QUIC version 2 | RFC 9369 (2023) |
| HTTP/3 | RFC 9114 (2022) |
| HTTPS DNS records | RFC 9460 (2023) |
| 103 Early Hints | RFC 8297 (2017) |
| Alternative services | RFC 7838 (2016) |
| Bandwidth vs latency | Mike Belshe, "More Bandwidth Doesn't Matter (much)", 2010 |
| Web performance overview | Ilya Grigorik, "High Performance Browser Networking", O'Reilly, 2013 |
| TCP throughput formula | Mathis et al., "The Macroscopic Behavior of the TCP Congestion Avoidance Algorithm", 1997 |
| BBR congestion control | Cardwell et al., "BBR: Congestion-Based Congestion Control", ACM Queue, 2016 |




