Hi there,

Zagy and I have been discussing an issue that we have with fan-out
setups and blobs.

So, assume the following setup:

- A main ZEO server which has the blob storage locally available

- A fan-out ZEO server which runs on a different machine and has 4
  clients connected

Now, the fan-out ZEO server pulls the blobs via ZEO RPC and stores them
in a blob cache directory.

The same is true for the 4 clients which also create a cache directory
and store blobs there.

We now have 5 cache directories on the second machine. The cache of the
fan-out server will be approximately the combined set of blobs from the
other clients.

As all those 5 directories live on the same disk, we'd like them to be
shared between the various clients.

This currently doesn't work because we apply coarse grained locking to
the whole directory instead of individual files. 

We propose to change this so that locking will become fine-grained and
allow multiple ZEO clients to work on the same blob cache directory.



Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development

Attachment: signature.asc
Description: This is a digitally signed message part

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to