<div>I am using the NIO</div><div><br></div>I vaguely remember reading from one of the previous release documents, to use the same NioSocketChannelFactory for both server and client in an app.<div><br></div><div>But I don't exactly remember whether its NioSocketChannelFactory or the ThreadPool.</div>
<div><br></div><div><br><div class="gmail_quote">2011/7/25 Marc-André Laverdière <span dir="ltr"><<a href="mailto:marcandre.laverdiere@gmail.com">marcandre.laverdiere@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Are you using OIO or NIO?<br>
<br>
The core worker threads are reccomended to be 2x the number of cores<br>
NIO needs a few worker threads and then a bigger thread pool in an<br>
executor handler<br>
OIO just needs as many worker threads as your application needs.<br>
<div><div></div><div class="h5"><br>
On 7/23/11, George <<a href="mailto:georgel2004@gmail.com">georgel2004@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> Suggestion is needed for a high bandwidth throughput oriented app.<br>
><br>
> In most of the example codes, i notice separate threadpool for boss and<br>
> workers except the proxy dump.<br>
><br>
> I have a setup where the code acts as a server and client as well.<br>
><br>
> How many threadpools should i create in such setup?<br>
><br>
> 1 thread pool that acts as server boss, server worker, client boss and<br>
> client worker<br>
> 2 thread pools that acts as server + client boss and server + client worker<br>
> 4 threadpools 1 each for server boss, server worker, client boss, client<br>
> worker.<br>
><br>
> --<br>
> Thanks<br>
> George L<br>
><br>
<br>
<br>
</div></div>--<br>
Marc-André LAVERDIÈRE<br>
"Perseverance must finish its work so that you may be mature and complete,<br>
not lacking anything." -James 1:4<br>
<a href="http://asimplediscipleslife.blogspot.com/" target="_blank">http://asimplediscipleslife.blogspot.com/</a><br>
<a href="http://mlaverd.theunixplace.com" target="_blank">mlaverd.theunixplace.com</a><br>
<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a></blockquote></div><br><br clear="all"><br>-- <br>Thanks<br>George L<br><br>
</div>