[ZODB-Dev] beforestorage and demostorage2 released

Jim Fulton jim at zope.com
Mon Feb 4 13:44:34 EST 2008


I've just released 2 new storages.

beforestorage, http://pypi.python.org/pypi/zc.beforestorage, lets you  
open an existing changing storage at a particular point in time.  This  
is useful for time travel, but more useful for use with a demo  
storage, which requires an unchanging underlying storage.  This makes  
it possible to use a demo storage with a ZEO client to a production  
storage.  This is handy for testing a new software release against a  
production database without making a database copy.

Note that beforestorage leverages the MVCC Stoprage api, loadBefore  
and only works with storages that implement that API.

demostorage2, http://pypi.python.org/pypi/zc.demostorage2 is an  
alternate demo storage that wraps 2 storages, an unchanging base  
storage, and a storage to store changes, This is helpful when you want  
to make more changes in the demostorage than you would want to keep in  
memory or when you want to be able to restart the demo storage without  
losing data.

Jim

--
Jim Fulton
Zope Corporation




More information about the ZODB-Dev mailing list