candlepin/thumbslug — pull request #15 by jbowes (2012-11-05 15:34:32+00:00)
Title: 865841: Improve concurrency properties of thumbslug

This patch contains a number of fixes for how we use netty in thumbslug:

- Use a single thread pool across all of the pipeline factories. This
maintains a lower number of threads, and helps with caching/reuse of
the threads
- Insert an OrderedMemoryAwareThreadPoolExecutor into the server
pipline, to instruct netty that the end of our pipeline can block, to
allow it to reuse the thread while the blocking occurs.
- Perform proper reuse of our SSL related objects.