[Python-ideas] async: feedback on EventLoop API

Nick Coghlan ncoghlan at gmail.com
Tue Dec 18 08:39:39 CET 2012


On Tue, Dec 18, 2012 at 5:29 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> Nick mentions debugging / monitoring, but I don't understand how you do
> that with a write callback (or a read callback, actually, since
> reading from a socket will consume the data and make it unavailable
> for other readers). You really need to do it at a protocol/transport's
> write()/data_received() level.
>

Yeah, monitoring probably falls into the same gather/scatter design model
as demultiplexing (receive side) and multi-channel transports (transmit
side).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121218/5a1f3581/attachment.html>


More information about the Python-ideas mailing list