[ZODB-Dev] big list (was Re: Making ZODB / ZEO faster)

Gary Poster gary.poster at gmail.com
Mon Dec 7 11:14:57 EST 2009


On Dec 7, 2009, at 11:08 AM, Erik Dahl wrote:

...

> Our slow loading object was a persistent with a regular list inside of  
> the main pickle.  Objects that the list pointed to were persistent  
> which I believe means that hey will load separately.  In general we  
> have tried to make our persistent objects reasonably large to lower  
> the amount of load round trips.  I haven't actually checked its size  
> yet but it will be interesting to see.

Even if the list holds just persistent objects, if there are a lot of them, just loading the references can still be a big problem.  That would point to refactoring that part of the app, and/or investigating if the characteristics of things like zc.queue or zc.blist would help.

Gary


More information about the ZODB-Dev mailing list