Hello,
I'm using Play 2.5.x and I noticed that many of thread pools can be very large +70 each for Async http client and Netty Server
I'm hoping someone can point me in the right direction or provide some advice on what the correct approach is here.
Basically I'm trying to use play packaged in a docker image but the problem is that many of thread pools used are based on the number of processors on a machine. This varies a lot for us from environment to environment, where some environments have 4 others have 36.
The pools often seem to be based off these formula threads = 2 x N where N is number of processors. Is there a way to configure this differently so that thread pool size is consistent and would not vary from deployment to deployment.
Specifically for
Akka,
WSClient (AsyncHttpClient)
and Netty.