News for hackers. Stuff that matters.
Re:Io_uring and Networking in 2023 [pdf] by puzpuzpuz-hn on Friday February 17, 2023 @11:50AM (#34837015)
Recently we've started using io_uring for disk access in QuestDB. So far, it's being used in CSV import, but we'd like to expand it to network and other disk access use cases. Apart from the performance boost, the beauty of io_uring is that it allows one to build an event loop on a single I/O multiplexing mechanism. No need to build an ugly combination of epoll and AIO or anything like that - it supports networking, disk access, user events (eventfd), and timers (and not only).
Re:Io_uring and Networking in 2023 [pdf] by axboe on Friday February 17, 2023 @04:30PM (#34840822)
Thank you for highlighting that, part of the design criteria for io_uring was indeed to be able to do everything. It's even mentioned in the second sentence of the linked write-up, no more "everything is a file... until you need to do IO to it".