Skip to content

Commit 8d8afca

Browse files
authored
DOCS-14330 v4.2 (#2539)
* DOCS-14330 Add deployment blurb back to shardedcluster page * internal feedback * XR feedback 1 * * * **
1 parent 3ce9616 commit 8d8afca

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

source/core/sharded-cluster-components.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,19 @@ Sharding requires at least two shards to distribute sharded data. Single
5858
shard sharded clusters may be useful if you plan on enabling sharding in
5959
the near future, but do not need to at the time of deployment.
6060

61+
.. _sharded-cluster-components-distribution:
62+
6163
Number of ``mongos`` and Distribution
6264
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6365

6466
Deploying multiple :binary:`~bin.mongos` routers supports high
65-
availability and scalability. For shard-level high availability, a
66-
common pattern is to place :binary:`~bin.mongos` instances on the same
67-
hardware that :binary:`~bin.mongod` instances are already running on.
68-
Another option is to embed :binary:`~bin.mongos` routers with
67+
availability and scalability. If a proxy or load balancer is between the
68+
application and the ``mongos`` routers, you must configure it for
69+
:term:`client affinity`. Client affinity allows every connection from a
70+
single client to reach the same ``mongos``. For shard-level high
71+
availability, a common pattern is to place ``mongos`` instances on the
72+
same hardware that ``mongos`` instances are already running on.
73+
Another option is to embed ``mongos`` routers with
6974
application tier infrastructure.
7075

7176
There is no limit to the number of :binary:`~bin.mongos` routers you can

source/reference/glossary.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ Glossary
154154

155155
Client can also refer to a single thread or process.
156156

157+
client affinity
158+
A consistent client connection to a specified data source.
159+
157160
cluster
158161
See :term:`sharded cluster`.
159162

0 commit comments

Comments
 (0)