Skip to content

Commit

Permalink
DOCSP-39027: Add CMAP diagram to FAQ page (#192)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9c5250f)
  • Loading branch information
mcmorisi committed May 9, 2024
1 parent 8782ec6 commit b72ebe1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/faq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ support concurrent MongoDB operations in your multi-threaded application.
The maximum size of each connection pool is set by the ``MaxConnectionPoolSize`` option, which
defaults to ``100``. If the number of in-use connections to a server reaches
the value of ``MaxConnectionPoolSize``, the next request to that server will wait
until a connection becomes available.
until a connection becomes available. The following diagram illustrates a high-level view
of how the ``MongoClient`` manages a connection pool:

.. figure:: /includes/figures/CMAP_diagram.svg
:alt: CMAP diagram

In addition to the sockets needed to support your application's threads,
each ``MongoClient`` instance opens two additional sockets per server
Expand Down
4 changes: 4 additions & 0 deletions source/includes/figures/CMAP_diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b72ebe1

Please sign in to comment.