On Sat, 10 Jan 2009 03:02:19 -0800, Finlay Boo <[email protected]> wrote:

(I want to up it to 15 and then up my threads to 10)

Sorry for not answering your original question, but… why?

What does 10 threads give you? Generally, if you're looking to set up a lot of concurrent requests, the recommendation is to have a thread of 1, and set up 10 instances instead. The OS (at least if you're on Linux/BSD) is much better at handling processes than Python is at handling threads. So if you're willing to live with a load balancer (haproxy or pound), this is generally regarded as a better setup. It's what we do on plone.org.

Of course, you might have some special use case that I don't know about, but increasing the number of threads isn't going to do as much good. :)

Oh, and a cache large enough to keep the catalog (or the whole ZODB if you can) in memory will help a lot.

--
Alexander Limi · http://limi.net


_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to