Skip to content

Commit 9c5250f

Browse files
authored
DOCSP-39027: Add CMAP diagram to FAQ page (#192)
1 parent 7afd6d0 commit 9c5250f

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
@@ -44,7 +44,11 @@ support concurrent MongoDB operations in your multi-threaded application.
4444
The maximum size of each connection pool is set by the ``MaxConnectionPoolSize`` option, which
4545
defaults to ``100``. If the number of in-use connections to a server reaches
4646
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
4852

4953
In addition to the sockets needed to support your application's threads,
5054
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)