One other phenomenal detective story printed on Cloudflare weblog:
Unbounded reminiscence utilization by TCP for obtain buffers, and the way we mounted it.
TL&DR: Shifting TCP window each time you acknowledge a phase doesn’t work nicely with scaled window sizes.
The attention-grabbing takeaways:
- Individuals are nonetheless discovering quirks in TCP
- It takes an infinite quantity of information to search out the anomalies, and tons of experimentation to get to the basis trigger
- The answer was explicitly documented in an RFC mandating it MUST be supported, it’s simply that Linux didn’t use it.
- Fixing such anomalies is unrewarding onerous work, until you’re working in an surroundings the place as a consequence of its scale uncommon anomalies value tons of cash.
Corollary: Anticipate folks to pursue a neater path to glory: invent one other solution-in-search-of-a-problem whereas preaching how damaged networking is.