mongo-python-driver/tools
Mike Dirolf 826fb0d4db Simplification of connection pooling.
Makes driver ~2x faster for simple benchmarks.

DEPRECATED pool_size, auto_start_request and timeout parameters to Connection
DEPRECATED Connection.start_request

Each thread now gets it's own socket reserved on it's first operation. Those
sockets are held until Connection.end_request is called by that thread, or
Connection.disconnect is called by any thread, or the thread dies.

Calling Connection.end_request allows the socket to be returned to the pool,
and to be used by other threads instead of creating a new socket. Judicious use
of this method is important for applications with many threads or with long
running threads that make few calls to PyMongo operations.
2010-01-08 15:13:50 -05:00
..
auto_reconnect_test.py Simplification of connection pooling. 2010-01-08 15:13:50 -05:00
benchmark.py revert to old benchmark script, even though neither of these is really being used 2009-10-21 17:31:51 -04:00
bson_benchmark.py changes to support python 2.4 2009-02-20 10:38:17 -05:00
clean.py clean out pyd build artifacts as well MINOR 2009-06-08 16:49:54 -04:00
fail_if_no_c.py simple tool that fails if the _cbson module doesn't exist 2009-02-09 16:14:21 -05:00
mongodb_benchmark_tools.py minor: return posted data in benchmark script 2009-08-27 15:20:54 -04:00
README.rst removing all support for mongo-qa tests 2010-01-05 14:20:12 -05:00

Tools
=====
This directory contains tools for use with the ``pymongo`` module.