3 ms·
Would be great if this was integrated into runtimes like tokio. I can totally see graphs of promise chains being translated to calls to io_uring representing th
by jupp0r 3y ago
Would be great if this was integrated into runtimes like tokio. I can totally see graphs of promise chains being translated to calls to io_uring representing the underlying data dependencies and thus saving lots of overhead context switches.
Pretty cool to see how far IO APIs have come with this.
- Tanjreeve 3y agoThere already is a tokio_uring. I'm still a bit dubious how much help it is for application level stuff outside of normal file operations. E.g the data dependencies stuff is a very granular scheduling operation to generalise in an easy to use way. But it's definitely real and worth watching.
- FridgeSeal 3y agoAs fantastic as Tokio uring is, it only uses the uring interface for locals files, and not for the network access parts. Glommio is a thread-per-core async executor/framework that supports io_uring however.
- nomaxx117 3y agoMaintainer of tokio-uring here. It uses io_uring for the network APIs as well.
- FridgeSeal 3y agoOh rad, my bad! I read a while back that it only did fs, that was clearly incorrect/outdated/etc.