[ZODB-Dev] High Write Applications

Barry Warsaw barry at zope.com
Mon Aug 4 17:25:55 EDT 2003


On Mon, 2003-08-04 at 11:59, Casey Duncan wrote:
> I had a thought a while ago about a seemingly straightforward way to improve 
> write performance for FileStorage. It was inspired by bsddb which allows 
> something similar.
> 
> You would divide the filestorage into two files, a read-only file for past 
> transactions and a write file for new transactions. At first, you would have 
> only the write file. When you pack, the packed transactions would go into the 
> read file and a new write file would be started. The index could keep track 
> of the file boundary so that, given an oid, the storage could figure out 
> which file the current data resides in. These files would be put on different 
> drive spindles to improve performance.

Sounds vaguely like repozo, the FileStorage incremental backup script. 
But only vaguely. ;)

-Barry





More information about the ZODB-Dev mailing list