diff --git a/source/core/sharding-introduction.txt b/source/core/sharding-introduction.txt index c425d7897a0..c79dff80de3 100644 --- a/source/core/sharding-introduction.txt +++ b/source/core/sharding-introduction.txt @@ -61,7 +61,7 @@ clusters `. .. include:: /images/sharded-cluster-production-architecture.rst Sharded cluster has the following components: :term:`shards `, -:term:`routers ` and :term:`config servers `. +:term:`query routers ` and :term:`config servers `. **Shards** store the data. To provide high availability and data consistency, in a production sharded cluster, each shard is a @@ -69,15 +69,15 @@ consistency, in a production sharded cluster, each shard is a information on replica sets, see :doc:`Replica Sets `. -**Routers**, or :program:`mongos` instances, interface with client +**Query Routers**, or :program:`mongos` instances, interface with client applications and direct operations to the appropriate shard or -shards. The router processes and targets operations to shards and then +shards. The query router processes and targets operations to shards and then returns results to the clients. A sharded cluster can contain more -than one router to divide the client request load. A client sends -requests to one routers. Most sharded cluster have many routers. +than one query router to divide the client request load. A client sends +requests to one query router. Most sharded cluster have many query routers. **Config servers** store the cluster's metadata. This data contains a -mapping of the cluster's data set to the shards. The router uses this +mapping of the cluster's data set to the shards. The query router uses this metadata to target operations to specific shards. Production sharded clusters have *exactly* 3 config servers. @@ -138,7 +138,7 @@ Performance Distinctions between Range and Hash Based Partitioning ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Range based partitioning supports more efficient range queries. Given -a range query on the shard key, the router can easily determine which +a range query on the shard key, the query router can easily determine which chunks overlap that range and route the query to only those shards that contain these chunks. @@ -185,7 +185,7 @@ Balancing The :ref:`balancer ` is a background process that manages chunk migrations. The balancer runs in all of the -routers in a cluster. +query routers in a cluster. When the distribution of a sharded collection in a cluster is uneven, the balancer process migrates chunks from the shard that has the