News for hackers. Stuff that matters.
Re:Running Java in a Container by bunderbunder on Wednesday March 21, 2018 @10:57AM (#16638530)
.NET has the same problem: Each process would create one thread pool thread per CPU core, and you could end up with excessive context switching.

Java possibly makes it a bit easier to work around, really, in that Java forces you to initialize your thread pool, so it wouldn't feel quite so weird to add a "# of threads in thread pool" setting to an app config file for something. I'm guessing that's not the Docker way of doing it, though.

There are no comments on this comment yet.