File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,11 @@ support concurrent MongoDB operations in your multi-threaded application.
44
44
The maximum size of each connection pool is set by the ``MaxConnectionPoolSize`` option, which
45
45
defaults to ``100``. If the number of in-use connections to a server reaches
46
46
the value of ``MaxConnectionPoolSize``, the next request to that server will wait
47
- until a connection becomes available.
47
+ until a connection becomes available. The following diagram illustrates a high-level view
48
+ of how the ``MongoClient`` manages a connection pool:
49
+
50
+ .. figure:: /includes/figures/CMAP_diagram.svg
51
+ :alt: CMAP diagram
48
52
49
53
In addition to the sockets needed to support your application's threads,
50
54
each ``MongoClient`` instance opens two additional sockets per server
You can’t perform that action at this time.
0 commit comments