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 be loaded first (about 3000). Is there a way I can avoid or mitigate this problem? seb
Seb Bacon wrote:
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 be loaded first (about 3000).
Is there a way I can avoid or mitigate this problem?
Yes. Right now, folders are using simple OID references, which means that when you load a folder you also have to load a stub for every subobject. If we instead pass (OID, class) tuples to the deserializer, it will be much more efficient. Shane
participants (2)
-
Seb Bacon -
Shane Hathaway