How many connections can selector in java.nio select one at a time?
问题 I did a little research about new java socket NIO. I am using MINA for building a simulated server which accept connection from many clients(about 1000) and process the data received from them. I also set up the client simulator which creates around 300 client connection and send data to server using thread. And the result is some of the connection is aborted by the server. Code is below try { listener = new NioSocketAcceptor(ioThread); listener.getFilterChain().addLast("codec", new