I am using Jetty 6 and wondered when should QueueThreadPool be used over ThreadPool? By default, Jetty 6 ships with QueuedThreadPool.
Java 6 is installed on my server, so I thought I should use ThreadPool:
<New class="org.mortbay.thread.QueuedThreadPool"> <Set name="minThreads">10</Set> <Set name="maxThreads">200</Set> <Set name="lowThreads">20</Set> <Set name="SpawnOrShrinkAt">2</Set> </New> <New class="org.mortbay.thread.concurrent.ThreadPool"> <Set name="corePoolSize">50</Set> <Set name="maximumPoolSize">50</Set> </New>
Thanks Walter
optimization jetty configuration
Walter white
source share