[Python-ideas] asyncore: included batteries don't fit

Antoine Pitrou solipsis at pitrou.net
Thu Oct 11 16:40:43 CEST 2012


On Wed, 10 Oct 2012 20:55:23 -0400
Trent Nelson <trent at snakebite.org> wrote:
> 
>     You could leverage this with kqueue and epoll; have similar threads
>     set up to simply process I/O independent of the GIL, using the same
>     facilities that would be used by IOCP-processing threads.

Would you really win anything by doing I/O in separate threads, while
doing normal request processing in the main thread?

That said, the idea of a common API architected around async I/O,
rather than non-blocking I/O, sounds interesting at least theoretically.
Maybe all those outdated Snakebite Operating Systems are useful for
something after all. ;-P

cheers

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net





More information about the Python-ideas mailing list