Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

io_submit: The epoll alternative you've never heard about

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Marek Majkowski
Word Count
2,095
Company Posts That Month
12
Language
English
Hacker News Points
8
Post removed?
No
Summary

The article discusses the use of Linux AIO API for network sockets, an addition that was merged in 4.18 kernel. It explains how to use the strengths of Linux AIO API to write better and faster network servers. The author also provides a simplified version of the struct iocb passed to io_submit and the completion notification retrieved from io_getevents. Furthermore, it illustrates the batching aspect of io_submit with examples and demonstrates how to use io_submit for polling as an alternative to epoll(). The author concludes by expressing excitement about the new developments that allow developing faster network servers using Linux AIO API.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.