I'm going a bit nuts trying to figure out what all the different caches mean. This doesn't seem to be well documented, but I'll keep googling after sending out this email.<div><br></div><div>Here's the various configs I've got. I have a zeo.conf:</div>
<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font size="1" face="courier new, monospace">%define INSTANCE .</font></div></div><div><div><font size="1" face="courier new, monospace"><br>
</font></div></div><div><div><font size="1" face="courier new, monospace"><zeo></font></div></div><div><div><font size="1" face="courier new, monospace"> address $INSTANCE/zeo_indexdb.sock</font></div></div><div><div>
<font size="1" face="courier new, monospace"> read-only false</font></div></div><div><div><font size="1" face="courier new, monospace"> invalidation-queue-size 100</font></div></div><div><div><font size="1" face="courier new, monospace"> pid-filename $INSTANCE/zeo_indexdb.pid</font></div>
</div><div><div><font size="1" face="courier new, monospace"></zeo></font></div></div><div><div><font size="1" face="courier new, monospace"><br></font></div></div><div><div><font size="1" face="courier new, monospace"><blobstorage 1></font></div>
</div><div><div><font size="1" face="courier new, monospace"> <filestorage></font></div></div><div><div><font size="1" face="courier new, monospace"> path $INSTANCE/Data_IndexDB.fs</font></div></div><div><div><font size="1" face="courier new, monospace"> </filestorage></font></div>
</div><div><div><font size="1" face="courier new, monospace"> blob-dir $INSTANCE/blobs_indexdb</font></div></div><div><div><font size="1" face="courier new, monospace"></blobstorage></font></div></div></blockquote>
<div><br></div><div>I run this with `runzeo -C zeo.conf` .</div><div><br></div><div>Next I have an `app.ini` which I run with `paster server --verbose --reload app.ini`. It has a `zodb_uri`:</div><div><br></div><div><div>
<font face="courier new, monospace" size="1">zodb_uri = zeo://%(here)s/zeo.sock?cache_size=1000MB&connection_cache_size=100000&connection_pool_size=30</font></div></div><div><br></div><div>I hear there is a `cache-size` option and a `cache-size-bytes` option, which goes in a `zodb.conf`, but I don't know where to put it in my `zeo.conf`. So my question is:</div>
<div><br></div><div>In the `.conf` files:</div><div>- What is cache-size?</div><div>- What is cache-size-bytes?</div><div>- Are there any other caching options?</div><div>- Where would they go in my `zeo.conf`, or if they can't go there, what should I change so I can configure this? I tried putting them under <zeo>, <filestorage>, and <blobstorage>, but I get "not a known key name" errors. </div>
<div><br></div><div>In the `zodb_uri`:</div><div>- What is cache_size?</div><div>- What is connection_cache_size?</div><div><br></div><div>I'm basically concerned with: what does 'runzeo' cache and how do I configure that, and what does the local connection cache and how do I configure that? </div>
<div><br></div><div>Thanks in advance,</div><div>- Claudiu</div>