Jetty 6 - QueuedThreadPool vs ThreadPool

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

+6
optimization jetty configuration
source share

No one has answered this question yet.

See related questions:

14
Running Jetty 7 server in eclipse?
5
Configure JVM settings on a standalone Jetty server
3
Where is jetty / context / text.xml located?
3
Concurrent requests in Solr
2
Log4j property in Jetty-9 logging structure
one
What is the ideal jetty.xml configuration to throw a "Broken Pipe" or an "EofException" exception?
one
How to reschedule sessions with Jetty 7 and the jetty-maven-plugin?
0
Embedded Jetty with env file not working
0
Install Jetty or Run the Solr Installation Application

All Articles