epoll: The API that powers the modern internet · Graham King
darkcoding.net · 1,063 words · saved by 1 readers
Linux's epoll API solved the C10K problem, enabling fast and afforable Internet services.
Summary I used epoll, a crucial Linux feature, to efficiently handle network requests on the Internet. This allows Go to excel in server programming, powers nginx as the leading web server, and facilitates 'async' programming in languages like Rust. Before epoll, servers relied on process or thread pools, which struggled with scaling and performance during high traffic, as highlighted by the C10K problem. Epoll, introduced by Davide Libenzi in 2001, revolutionized the handling of thousands of concurrent connections by enabling a single thread to manage many sockets efficiently. It employs a ma
related reading
- The C10K problemkegel.com
- The Architecture of Open Source Applications (Volume 2)nginxaosabook.org
- The New Internet: Tailscale's Vision for the Future of Connectivitytailscale.com
- 40 maps that explain the internetvox.com
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- k8s-1m Overviewbchess.github.io
- Frequently Asked Questions (FAQ) - The Go Programming Languagego.dev
- (Quite) A Few Words About Asyncyoric.github.io
- The emperor’s new clothes were built with Node.js | Notesnotes.ericjiang.com
- QUIC is not quick enough over fast internetnews.ycombinator.com
- What Async Promised and What it Delivered — Causalitycausality.blog
- Redis 多线程的学习和理解 - lxkakalxkaka.wang