File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -193,10 +193,12 @@ behavior.
193
193
How many connections does each ``mongos`` need?
194
194
-----------------------------------------------
195
195
196
- Typically, :program:`mongos` uses one connection from each client, as
197
- well as one outgoing connection to each shard, or each member of the
198
- replica set that backs each shard. If you've enabled the ``slaveOk``
199
- bit, then the mongos may create two or more connections per replica set.
196
+ Typically, each client maintains as connection to
197
+ :program:`mongos`. :program:`mongos` maintains a connection pool to
198
+ support a single outgoing connection to each shard for. For incoming
199
+ connections that direct read operations to secondaries, the
200
+ :program:`mongos` will also need to maintain connects to each member
201
+ of the replica set that provides the shard.
200
202
201
203
Why does ``mongos`` hold connections?
202
204
-------------------------------------
You can’t perform that action at this time.
0 commit comments