← 返回技术雷达
Hacker News tech

Uncovering Hidden TCP Throttling in the Linux Kernel

Hacker News 热议:Uncovering Hidden TCP Throttling in the Linux Kernel(268 赞 / 27 评论,来源 cdn77.com)

一句话概要

How we traced intermittent nginx throughput drops to cgroup memory pressure and contributed a patch to the Linux kernel.

原文开头节选

Disclaimer: No AI was used for writing this blog. Enjoy a humanly engineered piece. One day, a customer was complaining about slow download speeds from one of our edge servers. Since the internet is full of unpredictability, complaints like that occasionally happen, but this time, there were no error codes. We couldn’t reproduce the issue. The only thing we could see was lower traffic on the network interface. The strangest part was that it happened randomly, recovered on its own, and it didn’t affect all clients connected to that server.

CDNs are usually built in a multi-layer setup. When a client requests content, the closest edge node serves it from its cache. If the content isn’t there, the edge fetches it from an upper layer. The request can travel further up until it reaches a shield node, which finally fetches the content from the customer’s origin. At CDN77, all these layers run heavily modified nginx. As we would eventually discover, nginx was an important part of this story.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(268 赞 / 27 评论,来源 cdn77.com)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News

相关服务