eventually libraries like Libuv turned up and made my life a lot easier.
Are there any good stats on how io_uring compares to all those older async io stuff?
eventually libraries like Libuv turned up and made my life a lot easier.
Are there any good stats on how io_uring compares to all those older async io stuff?
Note that it might have been optimized more in the meantime.
Don't know how it compares to epoll performance-wise.
In fact io_uring might have direct support for polling now.
There are several io_uring opcodes intended specifically for the network use case, including: IORING_OP_ACCEPT, IORING_OP_CONNECT, IORING_OP_SENDMSG and IORING_OP_RECVMSG.
Did you mean something else by 'target'?
io_uring: https://github.com/frevib/io_uring-echo-server
epoll: https://github.com/frevib/epoll-echo-server
kqueue: https://github.com/frevib/kqueue-echo-server
io_uring performs much better than epoll: https://twitter.com/hielkedv/status/1218891982636027905?s=21