Hi Filip,

The reason I want to use more threads is because of the nature of our AJAX
client.  'Sleeping' threads on the server seems like a viable option
compared to polling, and therefore I'm wondering how many threads to use.
Other options include Jetty 6 'Continuation' or equivalents -
http://blogs.webtide.com/gregw/2006/07/25/1153845234453.html to handle this
problem.  I'd prefer to stick with Tomcat if it is scalable with AJAX
clients that require a lot of talk between client-server.

Regards,

Mike



On 9/24/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>
> Threads in hundreds, or lower one thousand is ok, if you need more,
> question yourself :)
> ie, if you need more concurrency, simply turn of keep alives.
>
> Having too many threads will do the following
>
> 1. Eat up a good chunk of memory
> 2. Your system will spend too much time context switching
>
> Filip
>
> Mike Crawford wrote:
> > Hi,
> >
> > I'd like to know if there are any gotchas from increasing maxThreads
> well
> > beyond the standard 150.  For instance, on a new Dell 1950 dual-core
> with
> > 4GB RAM, why not try 300 or even thousands of threads?  I will be
> putting
> > Lighty or Apache in front of Tomcat, which is also a potential
> bottleneck.
> >
> > Thanks for your time,
> >
> > Mike Crawford
> >
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.488 / Virus Database: 269.13.30/1027 - Release Date:
> 9/24/2007 11:27 AM
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to