[Zope-dev] Zope reference counts

Dieter Maurer dieter@handshake.de
Fri, 24 Jan 2003 01:07:25 +0100


Ivo van der Wijk wrote at 2003-1-22 16:10 +0100:
 > On Wed, Jan 22, 2003 at 11:57:20AM +0000, Toby Dickenson wrote:
 > > 
 > > >  Is there a
 > > > way to optimize this?
 > > 
 > > 1. Obviously, use fewer threads. Do you have a component that otherwise 
 > > benefits from many threads? 
 > > 
 > 
 > No, except that the server is pretty heavy loaded sometimes, and multiple
 > threads should improve responsiveness (right?)
When you have both short and long requests, then multiple threads help
that the short requests are processed faster.

When all your requests take approximately the same time, you
will not be more responsive but your average response time
becomes much worser (provided you can only use a single
processor which is normal for Python threads).


Dieter