Effective use of thread pool in server + client setup

George georgel2004 at gmail.com
Sat Jul 23 06:32:30 EDT 2011


Hello,

Suggestion is needed for a high bandwidth throughput oriented app.

In most of the example codes, i notice separate threadpool for boss and
workers except the proxy dump.

I have a setup where the code acts as a server and client as well.

How many threadpools should i create in such setup?

1 thread pool that acts as server boss, server worker, client boss and
client worker
2 thread pools that acts as server + client boss and server + client worker
4 threadpools 1 each for server boss, server worker, client boss, client
worker.

-- 
Thanks
George L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110723/fb1b2b67/attachment.html 


More information about the netty-users mailing list