[Zope-dev] ape performance

2003-09-08 Thread Seb Bacon
Hi, I'm trying to use Ape for a photo album - the idea being that I just drop new photos where I normally do on the filesystem, and Zope provides a thumbnails-bells-and-whistles view onto it. Performance is extremely poor: viewing the root of the hierarchy causes *all* descendent objects to

[Fwd: Re: [Zope-dev] ape performance]

2003-09-08 Thread Christian Theune
Use the object cache, which will keep stuff in memory, so only the first page view will be slow, the rest should be as-if-filestorage speed. That's my experience with it. You can set it by giving the parameter cache_size on the database factory with the setDatabaseParams method. Cheers,