I'm using Jetty 8 with its ProxyServlet, and was wondering what's the fastest threadpool to use, ExecutorThreadPool or QueuedThreadPool?
This is the code I'm currently using:
Server httpProxy = new Server();
SelectChannelConnector connector = new SelectChannelConnector();
connector.setPort(8087);
connector.setMaxIdleTime(400000);
connector.setThreadPool(new ExecutorThreadPool(256));
httpProxy.addConnector(connector);