[Twisted-Python] reactor for Linux io_uring

Ian Haywood ian at haywood.id.au
Fri Mar 12 17:01:46 MST 2021


On 12/03/2021 8:29 pm, Tobias Oberstein wrote:
> since with io_uring the queue/ring to append to never blocks for 
> writes, that buffering in twisted would lead to double buffering (as 
> the ring already buffers)
>
> then, io_uring follows a completion IO model (as IOCP). quite 
> different from the "ready to write/read" model (as in epoll etc).
>
> I am wondering, do you already have a design for these aspects of 
> io_uring / twisted?
I haven't thought about it in detail, but python presents mmap as 
bytearray, so I would have thought it fairly easy to write directly to 
the ring from Protocol.write



More information about the Twisted-Python mailing list