Missing Manuals - io_uring worker pool
Feb 4, 2022Jakub Sitnicki24 min read
Opens blog.cloudflare.comWhat the post covers
This post delves into the intricacies of `io_uring`, a high-performance asynchronous I/O API in Linux, specifically focusing on its worker pool management.
- It clarifies how `io_uring` classifies I/O requests into bounded and unbounded work, and how it manages thread creation for each category.
- The post details how to monitor and control the unbounded worker pool size, which is crucial for network I/O operations that are central to Cloudflare's infrastructure.
- It provides practical examples using in-kernel tracing to observe `io_uring`'s behavior and offers solutions for developers to effectively utilize this powerful I/O runtime.
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