Worker threads in NioServerSocketChannelFactory vs. ExecutionHandler

"이희승 (Trustin Lee)" trustin at gmail.com
Sat Jun 18 10:52:12 EDT 2011


The first one is used for boss threads and the second one is for worker threads.  A worker thread performs actual reads and writes.  A boss thread accepts a new incoming connection or makes a new connection attempt.  Once a new connection is accepted or a connection attempt succeeds, the new channel is handed off to one of the worker threads.  For now, there's no way to set the boss thread count.

HTH


More information about the netty-users mailing list