[Zope] One big Zope or many small Zopes? Or perhaps a ZEO?
Toby Dickenson
tdickenson@geminidataloggers.com
Mon, 22 Oct 2001 13:50:33 +0100
On Sat, 20 Oct 2001 07:45:50 -0400, Bill Blevins
<bblevins@fredericksburg.com> wrote:
>One other quick question. With 75,000 page
> views per day, set up the way we
>are now, (one box/multiple zopes) how many connections should we be
>allowing? I think the default it 4 and we have opened it up to 8. Sound
>right?
Do you mean publisher threads, controlled with the Zope.py -T switch?
Increasing the number is right if you have some methods that are not
CPU-bound; maybe they load state from a db on another machine, or they
need perform alot of disk for each request.
If your methods are CPU-bound then increasing the number above the
default 4 will not help.
Also, each publisher thread gets its own copy of the objects cache. If
your site is memory-intensive then increasing the number of threads
can be conterproductive. Reducing the number of threads and increasing
the size of each thread's cache may be better.
Toby Dickenson
tdickenson@geminidataloggers.com