Skip to content
Discussion options

You must be logged in to vote

In this thread, the pool object we have set the max pool size to 500, can we increase it, or can we make it configurable?

That depends on what your threadPool implementation is.

The behavior that jetty-home setup uses is like this ...

QueuedThreadPool threadPool = new QueuedThreadPool();
threadPool.setMaxThreads(500);
// Server
Server server = new Server(threadPool);

Is there any impact if we increase this thread pool?

This depends on both your hardware, and the nature of your web application.
So…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joakime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants