Quick revision
The short answer
We roll out HTTP/3 as an experiment, not a switch: advertise it through Alt-Svc or HTTPS DNS records to a growing share of traffic, keep HTTP/2 over TCP as the always-working fallback for networks that block UDP on port 443, and compare real user metrics by network type between the two protocols. Before going to 100 percent, we check edge CPU cost, make sure the load balancers route QUIC by connection ID, and confirm our observability and security tools can see UDP traffic.
What to remember
In this answer, we saw why HTTP/3 helps lossy mobile networks: QUIC avoids TCP's head-of-line blocking, shortens handshakes and survives network changes. Clients discover it through Alt-Svc or HTTPS DNS records and fall back to HTTP/2 when UDP is blocked, so HTTP/2 must stay healthy. We rolled it out in stages, compared treatment and control groups on real user metrics sliced by network, checked edge CPU, made sure load balancers route by connection ID, and confirmed security and monitoring tools see UDP traffic, with stop conditions written down before we started.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
We roll out HTTP/3 as an experiment, not a switch: advertise it through Alt-Svc or HTTPS DNS records to a growing share of traffic, keep HTTP/2 over TCP as the always-working fallback for networks that block UDP on port 443, and compare real user metrics by network type between the two protocols. Before going to 100 percent, we check edge CPU cost, make sure the load balancers route QUIC by connection ID, and confirm our observability and security tools can see UDP traffic.
Why this question is asked
HTTP/3 is often sold as a free speed-up, and for users on lossy cellular networks it frequently is. But it changes the transport under every request, from TCP to UDP, and that touches discovery, load balancing, CPU budgets, firewalls and monitoring at once. Interviewers ask this scenario because a senior engineer should treat a protocol change like any other risky production change: with a hypothesis, a measurement plan and a way back. In this answer, we will recap why HTTP/3 helps on bad networks, see how clients discover it and fall back, plan a staged rollout with the right metrics, look at the costs at the edge, and finish with the conditions that would make us stop.
1A Quick Recap: Why HTTP/3 Helps on Lossy Networks
HTTP/2 sends many requests as streams over a single TCP connection. TCP delivers bytes strictly in order, so when one packet is lost, every stream on that connection waits until the retransmission arrives, even streams whose data already reached the phone. This is called head-of-line blocking, and on a cellular link that loses 1 or 2 percent of packets it shows up as long, random stalls.
HTTP/3 runs over QUIC, a transport built on UDP. QUIC handles loss per stream, so a lost packet only delays the stream it belonged to. It also combines the transport and TLS 1.3 handshakes, so a new connection needs one round trip instead of two or three, and a returning client can sometimes send data immediately (0-RTT). Finally, a QUIC connection is identified by a connection ID rather than by the client's IP address and port, so a phone that moves from Wi-Fi to cellular can keep the same connection. This is called connection migration.
So the hypothesis is reasonable: users on lossy mobile networks should see lower tail latency and fewer failed requests. Our job is to prove it for our users and our edge, not to assume it.
2How Clients Discover HTTP/3 and Fall Back
A browser cannot simply start talking QUIC to a host it has never used, because it does not know whether the server listens on UDP. There are two discovery paths. The first is the Alt-Svc response header: the client connects over HTTP/2 as usual, the server answers with a header such as alt-svc: h3=":443"; ma=86400, and on later connections the client tries HTTP/3 and remembers the result for the max-age. The second is the HTTPS DNS record (SVCB), which can advertise h3 before the first connection is made, saving that first slower visit.
Fallback is the important half. Some corporate networks, hotel Wi-Fi and a few mobile carriers block or throttle UDP on port 443. Browsers and good mobile HTTP stacks race the QUIC attempt against a TCP attempt, or fall back to TCP after a short timeout, and remember that QUIC failed on this network. That means HTTP/2 is not a legacy path we can neglect. A share of users, often a few percent, will always use it, so it must stay healthy, tested and fast.
- First request over HTTP/2 (TCP)or read an HTTPS DNS record first
- Server sends Alt-Svc: h3max-age tells the client how long to remember
- Next connection: try QUIC on UDP 443often raced against TCP
- QUIC handshake succeeds?YesUse HTTP/3 for this originNoFall back to HTTP/2 and remember the failure
4 steps in order. Play them, or step through them one at a time.
HTTP/2 stays the safety net; HTTP/3 is an upgrade the client discovers.
3Rolling Out in Stages and Measuring It
We turn HTTP/3 on gradually. Most CDNs and edge proxies let us advertise Alt-Svc for a percentage of responses, for selected hostnames or for selected regions. A sensible plan is 1 percent, then 5, 25, 50 and 100, holding each stage for at least a few days so weekday and weekend traffic are both seen. Starting with one or two countries where cellular loss is high gives the strongest signal.
The measurement must come from real users, not synthetic tests from a data centre, because the benefit only appears on bad networks. We add the negotiated protocol (h2 or h3) as a dimension to our real user monitoring: the browser exposes it as nextHopProtocol in the Resource Timing API, and our apps can log it from their HTTP client. Then we compare the two groups on time to first byte, full request duration at p50, p95 and p99, request failure and timeout rates, and video or page load metrics that the product team already watches.
But there is a catch: users who end up on HTTP/3 are not a random sample. Clients on networks that block UDP fall back to HTTP/2, and those networks may be faster or slower on average. So we compare like with like, sliced by country, carrier or connection type (Wi-Fi, 4G, 5G) and device class, and ideally we compare the treatment group (offered HTTP/3) with a control group (not offered), whatever protocol they actually used.
| Metric | Why it matters | Slice by |
|---|---|---|
| Time to first byte p50/p95/p99 | handshake and loss recovery savings | country, carrier, network type |
| Request failure and timeout rate | QUIC should cut stalls; must not add failures | app version, client library |
| Share of h3 vs h2 in the treatment group | shows how many networks block UDP | network, ASN |
| Edge CPU per Gbps and per request | QUIC costs more CPU than TCP | PoP, server type |
| Connection migrations and resets | proves load balancing works for QUIC | PoP |
4The Costs at the Edge: CPU, Load Balancing and Tooling
QUIC usually runs in user space, inside the proxy process. TCP gets help from the kernel and the network card (segmentation offload, checksum offload, mature congestion control), so historically QUIC has needed noticeably more CPU per byte than TCP, sometimes far more for large downloads. Modern stacks use UDP GSO and other batching to narrow the gap, but we measure it rather than trusting a number from a blog: edge CPU per gigabit and per thousand requests at each stage, and the capacity headroom of each point of presence before we go to full rollout.
Load balancers are the second trap. A classic layer 4 balancer hashes the client's address tuple (source IP, source port, destination IP, destination port) to pick a backend. With QUIC, the client's address can change in the middle of a connection, by NAT rebinding or by connection migration. If the balancer keeps hashing the tuple, the packets after the change land on a different server that knows nothing about the connection, and the session breaks. The balancer must route by the QUIC connection ID instead, usually by having servers encode a routing hint in the IDs they issue. We check that our cloud balancer or edge software supports this before we celebrate migration.
Third, observability and security. Many firewalls, DDoS defences, packet captures and network dashboards understand TCP and treat UDP 443 as unknown traffic. Since QUIC encrypts almost all of its headers, middleboxes also see much less. We confirm that rate limiting, bot detection, web application firewall rules and access logs work identically for HTTP/3 requests, and that UDP-based floods are handled at the edge.
5Knowing When to Stop
Before the first stage we write down the stop conditions, so the decision is not made under pressure. We would pause or roll back if the request failure rate for the treatment group rises above control by more than a small agreed margin, if p95 or p99 latency gets worse for any large slice of users, if edge CPU rises enough that we would need more capacity than the budget allows, if a security control turns out to be blind to HTTP/3, or if a client library version shows crashes or hangs over QUIC. Rolling back is cheap by design: we stop sending Alt-Svc and remove the h3 entry from the HTTPS record, and clients drift back to HTTP/2 as their cached alternatives expire. That is also a reason to start with a short max-age, such as one hour, and lengthen it only once we are confident.
6Follow-up questions
What results would make you stop the rollout?
A rise in request failures or timeouts for users offered HTTP/3 compared with the control group, worse tail latency for any large slice such as one carrier or one app version, edge CPU growth that would break our capacity plan, or a security or observability gap such as a WAF rule that does not apply to HTTP/3. Each of these is decided in advance with a threshold, and rollback is simply removing the Alt-Svc header and the h3 DNS advertisement.
Why not enable HTTP/3 for everyone at once if browsers fall back anyway?
Fallback protects against blocked UDP, not against our own mistakes. A load balancer that breaks migrated connections, a CPU spike at a busy point of presence or a missing rate limit would hit every user at the same moment. A staged rollout limits the blast radius and gives us clean comparison data.
7Conclusion
In this answer, we saw why HTTP/3 helps lossy mobile networks: QUIC avoids TCP's head-of-line blocking, shortens handshakes and survives network changes. Clients discover it through Alt-Svc or HTTPS DNS records and fall back to HTTP/2 when UDP is blocked, so HTTP/2 must stay healthy. We rolled it out in stages, compared treatment and control groups on real user metrics sliced by network, checked edge CPU, made sure load balancers route by connection ID, and confirmed security and monitoring tools see UDP traffic, with stop conditions written down before we started.
Open with
I would treat HTTP/3 as an experiment rather than a switch. Clients discover it through the Alt-Svc header or an HTTPS DNS record, and they fall back to HTTP/2 over TCP when UDP on port 443 is blocked, which happens on some corporate and public networks, so HTTP/2 stays a first-class path.
Then, if they want more
I would advertise h3 to a small share of traffic first, maybe one or two high-loss countries, with a short Alt-Svc max-age so rollback is quick.
Then I compare a treatment group that is offered HTTP/3 with a control group that is not, using real user data: time to first byte, p95 and p99 request time and failure rate, sliced by carrier, network type and app version, and I record the negotiated protocol.
On the edge side I watch CPU per gigabit, because QUIC runs in user space and has needed more CPU than TCP with kernel offloads. I also confirm the load balancers route QUIC by connection ID rather than the address tuple, otherwise connection migration breaks sessions, and that our WAF, rate limiting and logging work for UDP.
I write stop conditions up front: more failures, worse tail latency for a big slice, CPU beyond the capacity plan, or a blind security control, and then I simply stop advertising h3.
About this answer
- Last updated
- 13 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "How would you roll out HTTP/3, measure whether it helps, and handle the networks where...": https://scrivio-interview-library.netlify.app/architecture/load-balancing-networking/813ab01ea4/