title: does slow connections effect netty performance?
body: <p>CODE-1    </p>
  
  <pre><code>new NioServerSocketChannelFactory(Executors.newCachedThreadPool(), Executors.newCachedThreadPool(),WORKER_SIZE)
  </code></pre>
  
  <p>CODE-2</p>
  
  <pre><code>OrderedMemoryAwareThreadPoolExecutor executor = new OrderedMemoryAwareThreadPoolExecutor(48, 0, 0, 1, TimeUnit.SECONDS);
  pipeline.addLast("executor", new ExecutionHandler(executor));
  </code></pre>
  
  <p>If IO worker thread pool size (default is 2*count of cpu) can be set from CODE-1, what is the purpose of adding executer (a thread pool) to pipeline in CODE-2 ? </p>
  
  <p>IO operations are done from worker threads. Does that mean, a client with slow connection or bad network keeps IO worker thread busy until data is completely sent ? If so, increasing WORKER_SIZE would help me prevent latencies ? </p>