Why we use the Linux kernel's TCP stack
Jul 7, 2016Marek Majkowski8 min read
Opens blog.cloudflare.comWhat the post covers
This post delves into Cloudflare's strategic decision to utilize the Linux kernel's TCP stack, explaining the benefits of hardware independence, time-sharing, and running multiple network applications.
- It highlights the trade-offs of userspace networking and kernel bypass, particularly the loss of concurrent application support.
- The post details Cloudflare's use of 'partial kernel bypass' for DDoS mitigation, offloading iptables to a userspace process to avoid IRQ storms.
- It also emphasizes the value of the Linux TCP stack's features, debugging tools, and ecosystem over custom solutions.
More from the Data Infrastructure & Analytics trail
How we built Cloudflare's data platform and an AI agent on top of it
Our billing pipeline was suddenly slow. The culprit was a hidden bottleneck in ClickHouse
When "idle" isn't idle: how a Linux kernel optimization became a QUIC bug
Evolving Cloudflare’s Threat Intelligence Platform: actionable, scalable, and ETL-less
ASPA: making Internet routing more secure