Skip to content

Commit 7c9bb27

Browse files
committed
DOCSP-39027: Add CMAP diagram to FAQ page (#192)
(cherry picked from commit 9c5250f)
1 parent 4dae926 commit 7c9bb27

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

source/faq.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ support concurrent MongoDB operations in your multi-threaded application.
3737
The maximum size of each connection pool is set by the ``MaxConnectionPoolSize`` option, which
3838
defaults to ``100``. If the number of in-use connections to a server reaches
3939
the value of ``MaxConnectionPoolSize``, the next request to that server will wait
40-
until a connection becomes available.
40+
until a connection becomes available. The following diagram illustrates a high-level view
41+
of how the ``MongoClient`` manages a connection pool:
42+
43+
.. figure:: /includes/figures/CMAP_diagram.svg
44+
:alt: CMAP diagram
4145

4246
In addition to the sockets needed to support your application's threads,
4347
each ``MongoClient`` instance opens two additional sockets per server

source/includes/figures/CMAP_diagram.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)