diff options
author | Jason Carey <jcarey@argv.me> | 2015-11-13 19:54:33 -0500 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2015-11-17 16:10:00 -0500 |
commit | 4990cd5647371b59fec9578e19f35af13b3a97ca (patch) | |
tree | 269ad65111f3cc5a153c068e18998cb5d03fe9c3 /src/mongo/rpc | |
parent | 0066be487cb9c1ae04c1ee44e00ff4630b3db7ab (diff) | |
download | mongo-4990cd5647371b59fec9578e19f35af13b3a97ca.tar.gz |
SERVER-21436 NetworkInterfaceThreadPool for sharding
Adding a new kind of thread pool that dispatches jobs onto a provided
NetworkInterface rather than using their own thread pool.
We're also switching the ThreadPoolTaskExecutor to use this instead of
the regular thread pool for sharding. That, in turn, removes context
switches by allowing inline execution of scheduled tasks if they're
invoked from a nia io_worker.
In pursuit of this, factored the connection pool tests out into a common
set that the NetworkInterfaceThreadPool can use.
Diffstat (limited to 'src/mongo/rpc')
0 files changed, 0 insertions, 0 deletions