3 ms·
You can for example read from multiple files simultaneously. You can also build web servers that read from disk as part of the request handling, without having
by yxhuvud 7y ago
You can for example read from multiple files simultaneously.
You can also build web servers that read from disk as part of the request handling, without having to do blocking file reads. Before io_uring, this scenario would get absolutely horrible performance as the whole thread would lock down while waiting for the file read. Now you can do other things concurrently.
- cmsd2 7y agoit looks like in the future it might be a better way of implementing khttpd by handing over from a userspace control program the accept->read->sendfile->close sequence of async operations to the kernel