[Zope] Zope slooooowww

Jim Fulton jim@zope.com
Fri, 15 Mar 2002 08:42:38 -0500


Chris Withers wrote:
> 
> Ron Arts wrote:
> >
> > > Get the pid from top that is using up the cpu and run
> > >
> > > strace -p your_pid
> > >
> > Done that. It's very interesting to do this while zope is starting up.
> > It seems the last 10 of my seconds zope is in a tight loop calling time()
> > and doing nothing else.
> 
> Ouch! Now I see why Jim says timestamps in short records are bad :-(

Right. ZODB makes lots of time calls (one on each operation 
of a persistent object). Toby Dickenson's new ZODB cache eliminates 
these. We intend to get these merged into the core ASAP.

Jim


--
Jim Fulton           mailto:jim@zope.com       Python Powered!        
CTO                  (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org