Answer the question
In order to leave comments, you need to log in
Is there a way to share server resources between users of a Java application?
Good day, dear experts! Is there any way to separate the users of a Java application running under Tomcat by server resources?
Description of the situation :
There is an application written in Java running under the control of a Tomcat server. Occasionally, users may perform actions that cause the server to load at 100% for an extended period of time. It is required to limit users in server resources so that one user cannot "fill up" the entire server.
The only thing that has come to mind so far is to containerize the entire application in Docker and run a separate resource-limited container for each user.
There is a feeling that I am missing some simpler solution =(
Answer the question
In order to leave comments, you need to log in
put several cores on the server, if the application is single-threaded, then the user uses only one core and the rest will be free.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question