[ZODB-Dev] Understanding the ZODB cache-size option
Jim Fulton
jim at zope.com
Tue Mar 23 13:47:14 EDT 2010
On Tue, Mar 23, 2010 at 7:17 AM, Adam GROSZER <agroszer at gmail.com> wrote:
> Hello,
>
> On top of that, be aware that those numbers 'cache-size' (or
> cache-size-bytes) are for each connection. By default a Z3 ZODB can
> have up to 7 connections in the pool. That means you might easily end
> with 7 times the cache size set.
This is no longer a hard limit. ZODB will simply start to whine if
you go higher.
>
> Most people tend to limit the number of connections too.
Note that since Zope is typically configured to use 4 threads, you'll
generally only have 4 connections. The number of connections you'll
have is the maximum number of concurrent requests, which in turn is
limited by the number of threads you use.
Jim
--
Jim Fulton
More information about the ZODB-Dev
mailing list