On Thu, Oct 23, 2008 at 11:21 PM, Shane Hathaway <[EMAIL PROTECTED]> wrote:
> Shane Hathaway wrote:
>> Santi Camps wrote:
>>> I've 8 zope's with 4 threads each one, and I've seen more than 50 open
>>> connections used by relstorage.   I was hopping one connection per
>>> thread, like postgressql adapters does.  The number of connections of
>>> relstorage doesn't depend of number of zope threads ?.
>>
>> RelStorage opens 2 connections per thread: one for reading, one for writing.
>
> I should add that RelStorage also opens short-lived connections for
> various operations like computing the size of the storage and packing.
> Be sure to allow room for those as well.
>
> Shane
>
>

Thanks a lot for your help.

Yes, I have 8 zope processes to take advantage of two quadcore
processors (so, 8 cores), but it's very interesting know that
diferences between threads and processes using RelStorage

Regards
-- 
Santi Camps
Earcon S.L. - http://www.earcon.com
                  - http://www.kmkey.com
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to