io_uring-echo-server
liburing | io_uring-echo-server | |
---|---|---|
28 | 1 | |
2,610 | 358 | |
- | - | |
9.6 | 3.6 | |
about 18 hours ago | 4 months ago | |
C | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
liburing
- Liburing 2.6 Released
-
Io Uring
I've tinkered around with io_uring on and off for the last couple years. But I think it's really becoming quite cool (not that it wasn't cool before... :)). This was a really interesting post on what's new https://github.com/axboe/liburing/wiki/io_uring-and-networki.... The combination of ring-mapped buffers and multi-shot operations has some really interesting applications for high-performance networking. Hoping over the next year or two we can start to see really bleeding edge networking perf without having to resort to using DPDK :)
-
Why you should use io_uring for network I/O
Thought I was doing something wrong at first, but after looking at examples and code, I just wasn't able to reach the epoll numbers. Looking on the Github page, there a few issues there with people who found the same thing, with their own examples. #1, #2
-
Use io_uring for network I/O
To address my own silly questions, yes, one should use the new fixed buffers described in this document: https://github.com/axboe/liburing/wiki/io_uring-and-networki...
-
The fastest rm command and one of the fastest cp commands
We're working on this! https://github.com/axboe/liburing/issues/830
- axboe / liburing
-
io_uring and networking in 2023
Link: https://github.com/axboe/liburing/wiki/io_uring-and-networking-in-2023
io_uring-echo-server
-
Put an io_uring on it: Exploiting the Linux Kernel
> Network IO discussion: https://github.com/axboe/liburing/issues/536
I see an issue with a narrative but zero discussion at that link.
Furthermore, your io_uring benchmark being utilized in that issue isn't even batching CQE consumption. I've submitted a quick and dirty untested PR adding rudimentary batching at [0]. Frankly, what seems to be a constant din of poorly-written benchmarks portraying io_uring in a negative light vs. epoll is getting rather old.
[0] https://github.com/frevib/io_uring-echo-server/pull/16
What are some alternatives?
tokio-uring - An io_uring backed runtime for Rust
rio - pure rust io_uring library, built on libc, thread & async friendly, misuse resistant
libevent - Event notification library
python-c-io_uring-example - Using io_uring Linux Kernel interface from Python by JITing C code with MetaCall.
libuv - Cross-platform asynchronous I/O
kbio - Another Async IO Framework based on io_uring
linux-aio - How to use the Linux AIO feature
io-uring - The `io_uring` library for Rust
go - The Go programming language
async_io_uring - An event loop in Zig using io_uring and coroutines
Netty - Netty project - an event-driven asynchronous network application framework
Polyphony - Fine-grained concurrency for Ruby