[ZODB-Dev] Blobs without shared-blob directory

Hanno Schlichting hannosch at hannosch.eu
Fri May 15 11:34:10 EDT 2009


Jim Fulton wrote:
> On May 15, 2009, at 6:22 AM, Hanno Schlichting wrote:
> 
>> Am I correct to assume that sharing the blob-cache between the four
>> processes on the same physical machine is not supported, as these  
>> don't
>> have any mechanism to synchronize read/write activity to the blob- 
>> cache?
>> Or is there something in the blob design that ensures a no-conflict
>> situation?
> 
> It probably works in ZODB 3.8, although there are no tests for it.
> 
> I made sure it works in 3.9 and there are tests for it. This is our  
> (ZC's) production configuration.

Ok, I'll not try it for now on a tight deadline, but will consider it
for more quiet times.

Unfortunately 3.9 and Zope 2.10 don't quite want to work with each other.

>> Does the blob-cache grow indefinitely or is there some mechanism to
>> purge / pack it built-in somewhere?
> 
> ZODB 3.9 has an option to limit the blob cache size. We're using that  
> too.
> 
> Note that the ZODB 3.9 blob cache uses it's own layout to facilitate  
> the management of the cache. You can't use a 3.8 blob cache with 3.9.

Ok, thanks! I'll live with some outside cronjob driven purging for now.

Hanno



More information about the ZODB-Dev mailing list