[Twisted-Python] Usenix paper on event dispatch mechanisms

Itamar Shtull-Trauring lists at itamarst.org
Tue Sep 18 18:40:41 EDT 2001

Glyph Lefkowitz wrote:

> Wow.  I just read that 3 times, and my brain just can't accept that it is
> _good_ for performance.  Thanks for digging it up, itamar!

Think about it - a selct() is very expensive, and you have to do one 
before every accept(). This way, if a lot of connections are waiting we 
do them quickly (accept() is apparently less expensive) and can starts 
sending them data on the next select(). The paper has more details.

More information about the Twisted-Python mailing list