File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,13 @@ Number of ``mongos`` and Distribution
66
66
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67
67
68
68
Deploying multiple :binary:`~bin.mongos` routers supports high
69
- availability and scalability. For shard-level high availability, a
70
- common pattern is to place :binary:`~bin.mongos` instances on the same
71
- hardware that :binary:`~bin.mongod` instances are already running on.
72
- Another option is to embed :binary:`~bin.mongos` routers with
69
+ availability and scalability. If a proxy or load balancer is between the
70
+ application and the ``mongos`` routers, you must configure it for
71
+ :term:`client affinity`. Client affinity allows every connection from a
72
+ single client to reach the same ``mongos``. For shard-level high
73
+ availability, a common pattern is to place ``mongos`` instances on the
74
+ same hardware that ``mongos`` instances are already running on.
75
+ Another option is to embed ``mongos`` routers with
73
76
application tier infrastructure.
74
77
75
78
There is no limit to the number of :binary:`~bin.mongos` routers you can
Original file line number Diff line number Diff line change @@ -168,6 +168,9 @@ Glossary
168
168
169
169
Client can also refer to a single thread or process.
170
170
171
+ client affinity
172
+ A consistent client connection to a specified data source.
173
+
171
174
cluster
172
175
See :term:`sharded cluster`.
173
176
You can’t perform that action at this time.
0 commit comments