Accelerating Content Delivery with BBR Congestion Control

Every Agiler edge server runs BBR congestion control. There is nothing to enable on your project. BBR changes how the server chooses its sending rate, particularly when a connection experiences packet loss or a long round trip.
Loss is a bad congestion signal
Most servers run CUBIC, which infers congestion from packet loss. Grow the congestion window until something drops, cut it, grow again. The result is the sawtooth every network engineer recognizes: the sending rate climbs, overshoots, collapses, and climbs back. It works on the assumption that a lost packet means a queue somewhere has filled up.
That assumption does not survive contact with the paths visitors arrive on. Wi-Fi loses frames to interference. Cellular links lose them during handover. A long-haul route loses a small fraction for reasons unrelated to load. CUBIC cannot distinguish those from congestive loss, so it backs off regardless, and throughput on a lossy transatlantic path settles far below what the link could carry. The longer the round trip, the worse it gets: recovery after each cut is measured in RTTs, so a distant visitor spends most of the transfer climbing back to a rate they should never have left.
The second failure is bufferbloat. “Grow until loss” means filling every buffer on the path before easing off, and modern buffers are deep. The bytes still arrive, but they arrive after sitting in a standing queue, and queueing delay applies to everything sharing the path — including the small, latency-sensitive requests a page render is blocked on. A single large transfer can add hundreds of milliseconds to every request behind it.
Modeling the path instead
BBR builds a model of the path around two measurements: the delivery rate at the bottleneck link, and the minimum observed round-trip time. Their product is the bandwidth-delay product — the amount of data needed to keep the bottleneck busy without building a queue. Unlike loss-based control, BBR does not rely primarily on packet loss to estimate available capacity.
BBR aims to keep roughly that much in flight, and to send at the bottleneck rate rather than faster. It periodically probes upward to discover new capacity, and drains down to re-measure the true minimum RTT, since the estimate is only valid while a queue is absent.
This can preserve more throughput on paths where loss is unrelated to congestion and reduce time spent in queues. Actual throughput and latency still depend on the network, competing traffic, and the receiver.
Idle connections keep what they learned
Loading a page is not one continuous transfer. The browser fetches HTML, pauses to parse it, then returns for stylesheets, scripts, and images over the same keepalive connection.
TCP can reduce the congestion window after an idle period longer than a retransmission timeout because path conditions may have changed. Web pages often produce short gaps between groups of requests on the same connection. Our edge servers retain the window across those idle periods rather than restarting slow start solely because the connection was idle.
The same algorithm everywhere
HTTP/3 traffic already ran BBR. QUIC carries congestion control inside the transport rather than deferring to the operating system’s TCP stack, and BBR is the algorithm it uses. HTTP/1.1 and HTTP/2 took whatever the TCP stack defaulted to instead.
HTTP/1.1 and HTTP/2 now use BBR too. Visitors whose browsers or networks cannot use HTTP/3 get the TCP congestion-control change without switching protocols.
It is sender-side only. Nothing changes on the visitor’s machine, no client support is required, and there is no configuration on your project. It applies to every request Agiler serves.


