[Twisted-Python] reactor for Linux io_uring

Hynek Schlawack hs at ox.cx
Tue Jan 5 06:38:11 MST 2021


>> What's more interesting is that io_uring accepts files as 
>> well as network/pipe handles: avoiding the need for threads.
> 
> What threads? Why do you call out file FDs different from socket FDs?
> 
> The point of io_uring is to avoid transitions between user and kernel right?
> Nothing to do with thread.
> 
> In current twisted you can run complex network code without threads
> already.

Because before io_uring there was no reliable way on Linux to do async file I/O and everybody is forced to use thread pools for it.


More information about the Twisted-Python mailing list