[Python-ideas] An alternate approach to async IO

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 28 23:28:35 CET 2012

Trent Nelson wrote:
>     I'm arguing that with my approach, because the background
>     IO thread stuff is as optimal as it can be -- more IO events would
>     be available per event loop iteration, and the latency between the
>     event occurring versus when the event loop picks it up would be
>     reduced.  The theory being that that will result in higher through-
>     put and lower latency in practice.

But the data still as to wait around somewhere until the Python
thread gets around to dealing with it. I don't see why it's
better for it to sit around in the interlocked list than it is
for the completion packets to just wait in the IOCP until the
Python thread is ready.


More information about the Python-ideas mailing list