[Twisted-Python] Usenix paper on event dispatch mechanisms
Glyph Lefkowitz
glyph at twistedmatrix.com
Mon Sep 17 16:01:20 MDT 2001
On Mon, Sep 17, 2001 at 11:49:09PM +0300, Moshe Zadka wrote:
> On Mon, 17 Sep 2001, Itamar Shtull-Trauring <lists at itamarst.org> wrote:
>
> > Doing multiple accept() calls instead of one (after a select() call
> > tells you a new connection is available) can speed up your application
> > considerably under high loads.
>
> Initial benchmarks show that this is a promising avenue. I got speed-ups
> between 10% and 50% depending on the load.
>
> Here is the improved Port class:
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!
--
______ __ __ _____ _ _
| ____ | \_/ |_____] |_____|
|_____| |_____ | | | |
@ t w i s t e d m a t r i x . c o m
http://twistedmatrix.com/users/glyph
More information about the Twisted-Python
mailing list