ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial3 min readDisconfirmAI Editorial

Databricks: HTTP/2's Shared Flow-Control Window Capped Terabyte Model Uploads at 15 MB/s

Databricks engineers explain how they diagnosed and fixed a non-obvious bottleneck in shipping frontier LLM models globally: HTTP/2's multiplexing design funnels all concurrent transfers through a single connection whose flow-control window becomes the throughput ceiling for bulk data, regardless of available bandwidth. Switching to one HTTP/1.1 connection per transfer raised upload throughput from roughly 15 MB/s to 800 MB/s, cutting Kimi-K3's 1.56 TB upload from a projected day to 32 minutes.

2026-12-03 05:35 GMT+8

HTTP/2 was designed to carry many concurrent requests over a single reused connection, which is exactly right for a web page loading dozens of small assets or for service-to-service RPCs. But that same design becomes a ceiling when the workload is a handful of very large transfers over long cross-region round trips. A single connection has one flow-control window—a limit on how much unacknowledged data can be in flight—and over transcontinental latencies that window, not the network, sets the maximum throughput.

Databricks' Unity Gateway team discovered this while trying to ship Kimi-K3, a 1.56 TB model, to every serving region. The old pipeline projected roughly a day just to upload and a week to replicate worldwide. Benchmarks ruled out the obvious suspects: cross-region network had ample headroom, object storage could accept data faster than it was being sent, and CPU, memory, and local disk were all far from saturated. Yet upload stayed pinned at about 15 MB/s. The decisive clue was that running more transfers in parallel over HTTP/2 didn't help at all—throughput remained flat no matter how many concurrent streams were active. When the team switched the client to HTTP/1.1, which does not enforce multiplexing and gives each concurrent transfer its own connection and flow-control window, throughput jumped into the hundreds of MB/s. A single connection still topped out at about 17–18 MB/s, but spreading transfers across separate connections scaled almost linearly past 200 MB/s.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The fix had two parts. First, switching to HTTP/1.1 so each transfer gets its own connection. Second, implementing a worker pool for cross-region replication so a model's files are copied in parallel rather than sequentially by a single job. Together with larger transfer chunks and a bigger server-side flow-control window, these changes raised upload throughput from about 15 MB/s to 600–800 MB/s and replication from 18 MB/s to 340–420 MB/s. Kimi-K3 now uploads in about 32 minutes and reaches every region in roughly three hours—a new model can be in production worldwide the same day.

The team is candid about what this does not solve. Even at 800 MB/s, throughput remains well below available network bandwidth. The remaining ceiling is structural: an OCI registry is content-addressed, meaning every object must pass through the registry server sequentially so it can compute the digest that identifies that object. Adding more connections cannot move the server out of the data path. The proposed next steps—direct upload to storage via checksum-locked URLs, and cloud-native server-side copy for same-cloud replication—would bypass the registry in the data path entirely, but those changes are not yet shipped. The broader lesson the authors draw is that performance bottlenecks tend to sit in defaults no one revisits: a protocol choice that was correct at one scale silently becomes the ceiling at the next, and the fix is often simple relative to the gain.

Sources

  • databricks.comDatabricks↗
Continue researching →