문제

In WebSphere Application Server, I see two thread pools that I can manipulate. There is one called "default", and another called "WebContainer", each having a minimum and maximum size.

What is each of these thread pools used for? In my application, I am using Java's ExecutorService to push off work on to separate threads--which of these pools would I be pulling from?

도움이 되었습니까?

해결책

The "default" thread pool is really only used during server startup. The "WebContainer" thread pool is used for inbound HTTP requests.

The WebSphere Application Server thread pools have no integration with ExecutorService, so you won't be using any of these. Which ExecutorService are you using? If you're using one from Executors, then that will create its own threads.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top