Hi Frederic, On 10/27/06, Frederic Soulier <[EMAIL PROTECTED]> wrote:
Thx Frederic. Switching the socket acceptor to newCachedThreadPool works as expected now. Now by default MINA uses 1 socketIoProcessor and my guess is that this number is highly dependent on the number of CPUs in the server. In my case with 4 CPUs I suspect I could go with 4 socketIoProcessors. What would be the "optimised" number of socketIoProcessors?
Theoretically, the number of SocketIoProcessors should be the number of CPUs, but it highly depends on context. Please do performance test, and decide by yourself. But, please don't forget to share your experience with us! ;) Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
