File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 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
6666~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6767
6868Deploying 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
7376application tier infrastructure.
7477
7578There 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
168168
169169 Client can also refer to a single thread or process.
170170
171+ client affinity
172+ A consistent client connection to a specified data source.
173+
171174 cluster
172175 See :term:`sharded cluster`.
173176
You can’t perform that action at this time.
0 commit comments