[ZODB-Dev] ZeoServer, multiple storages and open file handles

Darryl Dixon - Winterhouse Consulting darryl.dixon at winterhouseconsulting.com
Thu Oct 25 02:05:00 UTC 2012


>> On Wed, Oct 24, 2012 at 12:33 AM, Tim Godfrey <tim at obsidian.com.au>
>> wrote:
>> > Hi Jim
>> >
>> > Do you have any idea as to why people recommend against many storages
>> under
>> > a single Zeo?
>>
>> Seriously?
>>
>> Go back and read the thread.
>>
>> Seriously mate. The "why" is very vague. 
>
>
> There is nothing vague about the first reply to your question:
>
>
>     "ZEO does not handle each storage in a separate thread, so you're
> underusing multiple CPUs if you have them. Multiple ZEO servers would
> also spread the open sockets among them. There could still be a leak,
> but it'd take longer to exhaust file descriptors."

Yes but this is not really strictly accurate. Because it is primarily IO
bound, it is certainly possible to do more than 1 CPU worth of work (which
Jim notes in a followup email).

A useful thread that talks through some of the issues (as they were in
2006, anyway):
http://www.gossamer-threads.com/lists/zope/users/201868?do=post_view_threaded#201868



More information about the ZODB-Dev mailing list