ZODB performance: a small change can make a big difference

Comments

[this is good]
ZODB 3.9 + buildout has zodb-cache-size-bytes setting. Have you experienced with it? I am not sure how object size is determined, but I assume it gives more precise control over memory usage.
[isto é bom]
ZODB cache-size is the key to better performance, the CPU overhead to remove and insert objects from and to the cache is very high.

I usually set a huge value on cache-size to see how much objects will be used at same time and stay on the cache and then I decided the value I will use on this server based on memory avaiable. I prefer to have less instances (clients) and a higher cache-size per instance.
the `munin.zope` package (http://pypi.python.org/pypi/munin.zope/) makes it very easy to add a couple of very helpful munin plugins to your buildout, allowing you to monitor ram usage (of your zope process) as well as zodb cache stats.

Post a comment

Already a Vox member? Sign in