You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2013/01/02 11:24:33 UTC

[MINA 3] Nio client

hi !

I was looking at the new NIO client. I don't think we need to use
NbProcessor +1 threads when creating such a client. 2 threads are a
decent default value (not just one, as we may have two messages arriving
in parallel). If the users want more, they can stll provide the number
of threads in the pool.

wdyt ?

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


Re: [MINA 3] Nio client

Posted by Julien Vermillard <jv...@gmail.com>.
I just set those value to mimic the MINA 2 behavior, but I think you are
right, it's too much nowadays.



On Wed, Jan 2, 2013 at 11:24 AM, Emmanuel Lécharny <el...@gmail.com>wrote:

> hi !
>
> I was looking at the new NIO client. I don't think we need to use
> NbProcessor +1 threads when creating such a client. 2 threads are a
> decent default value (not just one, as we may have two messages arriving
> in parallel). If the users want more, they can stll provide the number
> of threads in the pool.
>
> wdyt ?
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>