[MINA 3] Nio client

2013-01-02 Thread Emmanuel Lécharny
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

Re: [MINA 3] Nio client

2013-01-02 Thread Julien Vermillard
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 elecha...@gmail.comwrote: hi ! I was looking at the new NIO client. I don't think we need to use NbProcessor +1 threads when creating