forked from laiweijian4/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
15 lines
2.0 KiB
HTML
15 lines
2.0 KiB
HTML
<a name="dds_01_0011"></a><a name="dds_01_0011"></a>
|
|
|
|
<h1 class="topictitle1">Cluster Architecture</h1>
|
|
<div id="body50525752"><p id="dds_01_0011__p16715644165033">Each DDS cluster is an independent document database. A sharded cluster consists of mongos, config, and shard.</p>
|
|
<p id="dds_01_0011__p4243244165318">Data read and write requests are forwarded by mongos. A mongos reads configuration settings from configs and allocates the read and write requests to shards, making it easy to cope with high concurrency scenarios. In addition, each config and shard is a replica set that provides high availability. The following figure shows the DDS cluster architecture.</p>
|
|
<div class="fignone" id="dds_01_0011__fig1930710481542"><span class="figcap"><b>Figure 1 </b>Cluster architecture</span><br><span><img id="dds_01_0011__image1530774814410" src="en-us_image_0284274967.png"></span></div>
|
|
<ul id="dds_01_0011__ul3754275165450"><li id="dds_01_0011__li18678526165450">Each mongos is a single node. To realize load balancing and automatic failover, you can provision multiple mongos. A single cluster supports 2 to 16 mongos.</li><li id="dds_01_0011__li9025895165450">Each shard is a three-node replica set. A single cluster supports 2 to 16 shards.</li><li id="dds_01_0011__li58596018165450">config is mandatory in a cluster instance. It stores instance configuration information and consists of one replica set.</li><li id="dds_01_0011__li37457807165450">mongos and shards cannot be added using native commands but can be scaled out on the DDS console.</li><li id="dds_01_0011__li5054286165450">You cannot connect to a config and shard. Data operations can only be delivered by connecting to mongos.</li><li id="dds_01_0011__li17418689165450">Currently, a three-node replica set cannot be directly upgraded to a cluster.</li></ul>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_01_0021.html">System Architecture</a></div>
|
|
</div>
|
|
</div>
|
|
|