I
I
intet2014-04-03 17:10:45
Java
intet, 2014-04-03 17:10:45

How to distribute threads between java servlets?

There is a project logically divided into several java servlets. What is the most natural way to control the number of threads used by servlets?

It is required, for example, to give at least one thread for the return of statics, for servlet No. 2 at least 8, and for servlet No. 3 all the remaining ones. But at the same time, servlet #3 cannot be allowed to gobble up all available resources.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question