Le 8/15/13 5:13 PM, Simo Chiegang, Boris Arthur RD-P8.1 a écrit :
> Ok that  means, when  I write new NioSocketConnector(), the number of threads 
> to use isn't no limited. If I give a a processorCount (may be 2 ), I will 
> limit the number of threads to 2. I'm wright?

Yes.

If you don't provide any value, the number of IoProcessor will be Nb
Core + 1.

usually, it's enough. If you need more, you can add an executor in the
filter chain, and use a Pool. But keep in mind that whatever you do, if
you are CPU bound, no matter how many threads you add, you are not going
to have better throughput.

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to