Missing Manuals - io_uring worker pool
Feb 4, 2022Jakub Sitnicki

Summary
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
- Introducing Cloudflare Basin: an open, serverless data platform, now generally available
- Introducing the Billable Usage API: programmatic cost visibility for Cloudflare
- Announcing the Monetization Gateway: charge for any resource behind Cloudflare via x402
- How we built Cloudflare's data platform and an AI agent on top of it
- Iran's Internet is partially restored, Cloudflare Radar data shows