[Paper Review] Domain-Sharding for Faster HTTP/2 in Lossy Cellular Networks
This paper proposes h2-aware domain-sharding to improve HTTP/2 performance in lossy cellular networks by isolating large and small object downloads across multiple TCP connections. Using real TCP traces and network emulation, the authors show that while standard HTTP/2 degrades under high packet loss due to single-connection congestion control, sharding small objects across separate h2 connections reduces page load times, outperforming both single-connection h2 and HTTP/1.1 with six connections.
HTTP/2 (h2) is a new standard for Web communications that already delivers a large share of Web traffic. Unlike HTTP/1, h2 uses only one underlying TCP connection. In a cellular network with high loss and sudden spikes in latency, which the TCP stack might interpret as loss, using a single TCP connection can negatively impact Web performance. In this paper, we perform an extensive analysis of real world cellular network traffic and design a testbed to emulate loss characteristics in cellular networks. We use the emulated cellular network to measure h2 performance in comparison to HTTP/1.1, for webpages synthesized from HTTP Archive repository data. Our results show that, in lossy conditions, h2 achieves faster page load times (PLTs) for webpages with small objects. For webpages with large objects, h2 degrades the PLT. We devise a new domain-sharding technique that isolates large and small object downloads on separate connections. Using sharding, we show that under lossy cellular conditions, h2 over multiple connections improves the PLT compared to h2 with one connection and HTTP/1.1 with six connections. Finally, we recommend content providers and content delivery networks to apply h2-aware domain-sharding on webpages currently served over h2 for improved mobile Web performance.
Motivation & Objective
- To investigate the impact of packet loss and high latency in cellular networks on HTTP/2 and HTTP/1.1 performance.
- To analyze real-world TCP traces from a cellular CDN to identify key network characteristics such as clustered packet loss and repeated loss events.
- To design and evaluate a network emulator that replicates realistic cellular loss patterns for controlled performance testing.
- To assess whether domain-sharding can mitigate HTTP/2’s transport-layer head-of-line blocking in lossy conditions.
- To recommend h2-aware domain-sharding as a practical optimization for content providers and CDNs serving mobile clients.
Proposed method
- Collected 50,000 TCP connections from an Akamai CDN cluster within a major US cellular carrier’s network to analyze real-world loss, RTT, and bandwidth characteristics.
- Identified three key cellular network traits: 32% of connections experience loss, losses are clustered, and up to 40% of segments are dropped during loss events.
- Built a network emulator using real TCP traces to emulate dynamic cellular conditions, including loss bursts and variable RTT.
- Replayed webpages from the HTTP Archive using synthesized traffic under h2 (single connection) and h1 (six connections), comparing page load times.
- Designed and evaluated a new h2-aware domain-sharding technique that separates large and small objects across multiple h2 connections to reduce loss impact.
- Used DNS pre-resolve and TCP pre-connect hints to mitigate latency overhead from additional domain lookups in sharding.
Experimental results
Research questions
- RQ1How does HTTP/2 performance compare to HTTP/1.1 in lossy cellular networks with high packet loss and variable RTT?
- RQ2What are the key characteristics of TCP connections in real-world cellular networks, particularly regarding packet loss and loss clustering?
- RQ3Can domain-sharding improve HTTP/2 performance in lossy cellular conditions by isolating large and small object downloads?
- RQ4Does h2-aware domain-sharding outperform both single-connection HTTP/2 and multi-connection HTTP/1.1 in terms of page load time?
- RQ5What are the practical implications and performance trade-offs of applying domain-sharding in mobile HTTP/2 deployments?
Key findings
- In lossy cellular conditions, standard HTTP/2 with a single TCP connection degrades page load time (PLT) for webpages with large objects due to TCP’s congestion window reduction after loss.
- For webpages with only small objects, HTTP/2 achieves faster PLTs than HTTP/1.1 because it avoids application-layer head-of-line blocking.
- The proposed h2-aware domain-sharding technique, which isolates small objects on separate h2 connections, reduces the impact of packet loss and improves PLT compared to single-connection HTTP/2.
- h2-aware domain-sharding outperforms HTTP/1.1 with six connections in lossy conditions, particularly for webpages with mixed object sizes.
- The performance gain from sharding is most significant when large objects are separated from small ones, as large objects are more sensitive to loss-induced congestion window halving.
- The use of DNS pre-resolve and TCP pre-connect mitigates the latency cost of additional domain lookups, making sharding practical for mobile deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.