[Zope] Re: Threading, dtml and performance?!

Dieter Maurer dieter@handshake.de
Tue, 30 Oct 2001 23:49:09 +0100 (CET)


Oliver Bleutgen writes:
 > As I wrote before, it happens in mod_perl, it doesn't happen in zope2.3.3 on
How does "mod_perl" do it?
It is non-trivial...

 > And I would still be interested in an explanation why two long running 
 > methods (not four) seem to be able to stall zopes http server on linux.
I just checked with an "activeSleep" script:

   >   from time import time
   >   
   >   def sleep(sec):
   >     e= time() + float(sec)
   >     while time() < e: pass
   >     print 'active sleep finished'
   >     return 'slept'

I had three parallel "sleep" requests and a forth request could
manage Zope without problems...

Maybe your long running methods are special?


Dieter