[ZODB-Dev] what's the latest on zodb/zeo+memcached?

Laurence Rowe l at lrowe.co.uk
Fri Jan 18 19:03:55 UTC 2013


On 18 January 2013 10:50, Claudiu Saftoiu <csaftoiu at gmail.com> wrote:
>
>> > Any suggestions? There must be a way to effectively use indexing with
>> > zodb
>> > and what I'm doing isn't working.
>>
>> Have you confirmed that the ZEO client cache file is being used?
>> Configure logging to display the ZEO messages to make sure.
>>
>> The client cache is transient by default, so you will need to enable
>> persistent client caching to see an effect past restarts:
>>
>> <zeoclient>
>>   client zeo1
>>   ...
>> </zeoclient>
>>
>>
>> https://github.com/zopefoundation/ZODB/blob/master/doc/zeo-client-cache.txt
>
>
> Yep, I specified a var of 'zeocache' and a client of 'index', and there is
> indeed a ./zeocache/index-1.zec file and a ./zeocache/index-1.zec.lock file.

I wonder if disk latency is the problem?. As a test you could put the
index.fs file into a tmpfs and see if that improves things, or cat
index.fs > /dev/null to try and force it into the fs cache.

Laurence


More information about the ZODB-Dev mailing list