[ZODB-Dev] Fixing POSKeyErrors :-)

Chris Withers chris at simplistix.co.uk
Thu Feb 14 14:49:11 EST 2008


Binger David wrote:
> 
> On Feb 13, 2008, at 3:58 PM, Jim Fulton wrote:
> 
>> Note that, IMO, some of the best use cases for multi databases are 
>> separating catalog and session data from regular content.
> 
> Could you say more about what the benefit of this separation is,
> and why cross-storage references are necessary for it?

Seperate storages have seperate object caches, that means you can "keep 
room" in one cache for certain types of objects by making sure all those 
certain types of objects are stored in one storage.
(See Paul's comments about catalog objects...)

Cross-storage references can be made to work and *should* work even 
though they're not strictly necessary (although they become ever more 
necessary if you don't use Zope's path-based traversal, which I'm not 
great fan of) for the benefits of mounted storages.

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list