Confused about Netty NIO
Holger Hoffstätte
holger.hoffstaette at googlemail.com
Thu Oct 15 11:00:43 EDT 2009
Iain McGinniss wrote:
> I'm not sure I see how this is relevant - queueing of requests and
> processing by a fixed sized thread pool, or pool dynamically sized to
> the backlog of work in the queue, is fine in the majority of cases. If
I never claimed otherwise. :-)
> you split up the tasks into appropriately sized Runnables which queue
> their successors in the pool, things should run quite smoothly. Yes,
..unless your Runnables have nondeterministic run time or need to be
paused/restarted, which is not possible without burning more and more
native Threads. Once you have several thousand concurrent but
non-executing activities, this starts to become a real problem.
But other than that I agree..most apps are just fine with a plain old
threadpool.
-h
More information about the netty-users
mailing list