[Zope-dev] Zope Caches

Guido van Rossum guido@python.org
Fri, 22 Nov 2002 14:37:07 -0500


> > Thank you for your response. How does one determine if they have a
> > "reasonably-sized" ZEO cache? In our case we have about 260,000 objects in
> > the database with an ideal cache size of 10,000 objects. I have no idea
> > what our hit/miss ratio is or how to find that out. Any assistance would
> > be great!
> 
> Try this:
> 
> http://cvs.zope.org/ZODB3/ZEO/README.txt?rev=1.4&content-type=text/vnd.viewcvs-markup

Simpler would be to check your log file for "cache flip" messages.  If
you get these more than a few times per day, you should consider
doubling the cache size.

--Guido van Rossum (home page: http://www.python.org/~guido/)