昨日の続き。 server の部分を thread pool から、nio な ノンブロッキング にしてみたら、思った以上に早かった メイン public class Server extends Thread { protected final BlockingQueue<Socket> accept = new LinkedBlockingQueue<Socket>(); protected final ExecutorService acceptPool; protected final Cache cache; protected final int port; protected final int maxConnection; public Server(final int port, final int maxConnection){ this(port, maxConne