[ZODB-Dev] ZODB blob support.

Jeremy Hylton jhylton at gmail.com
Mon Mar 21 08:16:49 EST 2005


On Thu, 17 Mar 2005 14:59:32 -0500, Chris McDonough <chrism at plope.com> wrote:
> In preparation for some work that will tentatively happen at the Pycon
> sprints, I've put up a very basic proposal outlining "blob" support for
> ZODB.  It would help if people with a stake in ZODB had the time to
> comment on it before work starts (please comment here, as opposed to on
> the proposal itself, just so we get the widest audience).
> 
> http://www.plope.com/Members/chrism/zodb_blob_proposal

Just a quick reply, sorry it's coming after the sprint started.  

How does this work with ZEO?  I assume that almost every site that
cares about blob support will be running ZEO, where it's not obvious
how to get direct file access.  Aren't you stuck using all the
standard, slow ZEO mechanisms?  I suppose you could store the blobs in
individual files outside the standard ZEO cache, but you ought to
think about how they interact with things like the cache budget.

Also, I assume that reads and writes are transactional as for normal
objects.  So writing a byte somewhere in a file causes the object to
be modified and registered with the database connection / transaction
manager.

Jeremy


More information about the ZODB-Dev mailing list