Most Internet TCP connections are tiny, lasting under 5 seconds and sending few packets
The majority of TCP connections observed on the Internet are short-lived, involve few packets and bytes, and exhibit heavy-tailed distributions.
Systems Cloudflare Research 29 Oct 2025 Measurement Real-world evidence
Published as “Measuring characteristics of TCP connections at Internet scale”
Why it matters
These empirical distributions enable more realistic Internet-scale simulations and can guide tuning of transport parameters such as the initial congestion window.
Summary
The team sampled 1% of all TCP connections terminating at Cloudflare over an eight-day period and extracted socket-level metadata from the Linux TCP_INFO struct. They report that median connections last only 4.7 seconds, exchange about 12 response packets and 4.8 KB of data, while the 90th percentile values are orders of magnitude larger, confirming a heavy-tailed "elephants and mice" pattern. Additional metrics such as packet-ratio, byte-ratio, path MTU and initial congestion window are also characterized, and the authors note that some observed ICWND values are inflated by BBR’s behavior.
What they found 4
- Median response packet count is 12 packets; 90th percentile is 107 packets.
“The median is 12 packets, which indicates that 50% of Internet connections consist of very few packets. Extending further to the 90th percentile, connections carry only 107 packets.”
- Median bytes sent for HTTP/1.x connections is 4.8 KB; 90th percentile is 51 KB.
“For HTTP/1.X, the median response delivers 4.8 KB, and 90% of connections send fewer than 51 KB.”
- Median connection duration is 4.7 seconds; mean is 96 seconds.
“Across all connections, the median duration is just 4.7 seconds, meaning half of connections complete in under five seconds. The mean is much higher at 96 seconds, reflecting a small number of long-lived connections that skew the average.”
- Median byte-ratio (server bytes / client bytes) is 3.78; mean is 81.06.
“Across all connections, the median ratio is 3.78, meaning that in half of all cases, servers send nearly four times more data than they receive. The average is far higher at 81.06, showing a strong long tail driven by download-heavy flows.”
Caveats 5
- We have elected to represent ‘useful’ connections in our dataset that have been fully processed, by characterizing only those connections that close gracefully with a FIN packet. This excludes connections intercepted by attack mitigations, or that timeout, or that abort because of a RST packet.
- Our initial inspection of the above distribution left us doubtful, because the values seem very high. We then realized the numbers are an artifact of behaviour specific to BBR, in which it sets the congestion window higher than its estimate of the path’s available capacity.
- Only connections that close with a FIN and contain at least one successful HTTP request are included; aborted, timed-out, or RST-terminated flows are omitted.
- Data comes exclusively from Cloudflare’s edge servers, which may not reflect traffic patterns of networks without CDN front-ends.
- Initial congestion window measurements are inflated for BBR-controlled flows and may not represent other congestion control algorithms.
What’s new here 4
- Provides the first large-scale, CDN-level empirical distribution of TCP connection duration, packet count and byte volume.
- Breaks out metrics by HTTP version, showing that HTTP/2 connections carry more packets and bytes than HTTP/1.x.
- Measures path MTU and initial congestion window distributions across billions of real connections.
- Highlights the heavy-tailed nature of upload/download ratios and connection reuse patterns.