In our tests, QueuedThreadPool
has shown to be faster than ExecutorThreadPool
for usage with a connector.
I would use QueuedThreadPool
and experiment with ExecutorThreadPool
only if you have performance problems caused by the thread pool (unlikely in our experience).