Hi dude,
Thanks for awesome library, works great so far.
I've been also poking around in the code and before I go to bed, I want to ask.
can you explain a little the multiplexing thing, which is in base.py:167
1) what i observed is, that if there are still data to be received on socket (result ends up in True), you're bypassing whole event/IO POLLIN loop for notifications about newly received not yet processed data on this socket.
i don't understand, why would you want to skip the loop?
what's the designed purpose of multiplex?
can you please advice why shouldn't I turn it off?
2) also in the second case (if the result ends up in False), then you're adding duplicated socket's FD into the IO loop over and over again. I understand that duplicated sockets in pool don't matter, but i think another redundant syscall for every received message does.
3) and is this thing still alive? :-)
link to source:
https://code.google.com/p/cogen/source/browse/trunk/cogen/core/proactors/base.py#167regards,
-sh