[ZODB-Dev] Using demostorage + blobs with ZEO
Zvezdan Petkovic
zvezdan at zope.com
Thu Oct 20 07:48:49 UTC 2011
On Oct 20, 2011, at 7:23 AM, Malthe Borch wrote:
> ... but I simply can't see how I can *add* <filestorage> for changes.
>
> Here's my hierarchy:
>
> <demostorage>
> <before>
> <zeoclient>
> ...
> </zeoclent>
> </before>
> </demostorage>
>
> In which of these section can I add a storage for changes? As far as I
> can tell from the documentation, demostorage only takes a read-only
> base storage and keeps its own changes in memory.
It looks like this:
<demostorage>
<before base>
before 2011-10-20 # or startup, or 2011-10-20T10:00 (UTC time)
<zeoclient>
server ...
read-only true
blob-dir ... # blob **cache** dir
...
</zeoclient>
</before>
<filestorage changes>
path ...
blob-dir ... # real blob dir
</filestorage>
</demostorage>
The before storage must be named "base" and the filestorage must be named "changes".
Regards,
Zvezdan
More information about the ZODB-Dev
mailing list