[Zope] ZODB connection pool (defined in ZODB/DB.py)
Dieter Maurer
dieter at handshake.de
Sat Sep 4 14:58:34 EDT 2004
Dennis Allison wrote at 2004-9-3 12:07 -0700:
>The size of the pool defaults to 7. Except for testing code, I do not
>believe that it is larger for any DB instance.
You can configure it (from Zope 2.7 on in the configuration file).
> What's the relationship
>between this pool size and the number of Zope threadsi, if any?
When a thread wants to access the ZODB, it must open a connection
(and therefore use one from the pool). Therefore, the pool size
should usually be as large as the number of worker threads.
--
Dieter
More information about the Zope
mailing list