Determining poolsize.

javadevmtl java.dev.mtl at gmail.com
Wed Jul 21 17:36:19 EDT 2010


How do you determine the size of the pools for the worker thread pool and the
ExecutionHandler pool?

I figured if I want to execute 300 requests in 1 shot that I would need to
set the pool size to 300

For the worker threads. I remember once reading an optimization doc for
Glassfish which had an equivalent to worker threads and it said to pick 1
worker thread per CPU. So if the server has 4 cpu then you should set it to
2 worker threads and so on.
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Determining-poolsize-tp5323050p5323050.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list