mongo-python-driver/test/server_selection
Shane Harvey e95d2187b6
PYTHON-2395 Consider connection pool health during server selection (#515)
Change the driver to maintain a count of in-progress operations to each
server (per client). When selecting a mongos server, the driver now picks
2 suitable servers at random and selects the server with fewer in-progress
operations. Previously, the driver selected a mongos server at random.
The new behavior is intended to route operations away from unhealthy or
slow servers in highly concurrent single client workloads.

PYTHON-2460 Only reset Pool.active_sockets to 0 after a fork()
2020-12-07 10:41:39 -10:00
..
in_window PYTHON-2395 Consider connection pool health during server selection (#515) 2020-12-07 10:41:39 -10:00
rtt PYTHON-815: Added YAML tests for server selection. 2015-03-06 15:21:24 -05:00
server_selection Resync server selection and max staleness tests from the specifications repository. 2016-08-11 16:27:17 -07:00