[Twisted-Python] Degrading under load

Itamar Shtull-Trauring itamar at itamarst.org
Fri Mar 10 11:47:03 EST 2006

On Fri, 2006-03-10 at 02:12 +0200, Yitzchak Gale wrote:

> > IIRC most reactors will try to accept as many as possible,
> > up to some limit in each iteration.
> If I was going to do A, I would certainly want to check that
> carefully. It's not like using select() or poll(). To get a
> non-blocking accept(), for example, I think you need to
> set some flag on the listen() call.

In this context, "if I recall correctly" is referring to when glyph and
I wrote that code :) accept()s are certainly non-blocking,
 and I just checked the code and it does indeed accept up to a 100, with
some dynamic changes based on rate of connections.

More information about the Twisted-Python mailing list