[ZODB-Dev] Storage Benchmarks
Jim Fulton
jim@zope.com
Tue, 18 Dec 2001 08:54:19 -0500
sean.upton@uniontrib.com wrote:
>
(snip ;)
> better Zope/ZSS restart times
If Zope is taking a long time to start with ZEO, an issue
to consider is the cache veification protocol. When a ZEO
client starts, it sends a verification message to the server
for each object in the ZEO cache. The verification can take
a long time for large caches. This is, in part, because the
server has to work very hard to do the validation. For example,
FileStorage doesn't have any sort of index to make this go fast,
so it's seeking all over the file to read data serial numbers
to verify cache data. This can be improved in a number
of ways. If anyone is interested in helping out on this, let us
know. In the mean time, you may want to consider deleting your
cache files if you need to start faster, or maybe deleting
just the older of the cache files.
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