[ZODB-Dev] Re: ZEO and time.sleep

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Mar 29 05:16:44 EDT 2007


On Thursday 29 March 2007 03:51, Jürgen Kartnaller wrote:
> >> I didn't stick around for the post-Linux-kernel-recompile testing, but
> >> when we hacked the Python standard library to use sleep(0) all the
> >> time (emulating an infinite granularity timer), it went down to about
> >> 10 seconds.  A pretty nice improvement. ;)
> >
> > And the original time was 15 minutes! :)
>
> My test environment on MAC OS-X is loading my frontpage in 2:50 min
> after restarting zope.
> with your fix and the one I made in a ZODB branch using nanosleep is
> went down to 27 sec.
>
> I tested this having ZEO and zope running on the same machine.

Yipee! I am really happy that you guys spent the time looking into the problem 
and also found a fix that has those type of improvements!

Congrats!

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the ZODB-Dev mailing list