proposalbot 2efa8ae881 Changes to dds_umn from docs/doc-exports#409 (DDS UMN 20221101 version
DDS UMN

Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2022-11-24 08:58:53 +00:00

40 lines
1.2 KiB
ReStructuredText

:original_name: dds_01_0002.html
.. _dds_01_0002:
Cluster
=======
DDS cluster instances consist of mongos, config, and shard nodes. The following diagram shows the node relationships.
.. figure:: /_static/images/en-us_image_0284275219.png
:alt: **Figure 1** Diagram of node relationships
**Figure 1** Diagram of node relationships
mongos
------
A mongos is a router for reading and writing data, providing a unified interface for accessing DB instances.
- Each DB instance has 2 to 16 mongos. You can specify the quantity.
- A mongos reads configuration settings from configs and allocates read and write requests to shards. You can connect to a mongos directly.
config
------
A config stores configuration settings for DB instances and consists of one replica set.
- The availability of a config is the prerequisite to deploying a DB instance or modifying the instance information.
- You cannot connect to a config directly.
shard
-----
In the cluster instance, shards are used to store user data.
- Each DB instance has 2 to 16 shards. You can specify the quantity.
- Each shard is deployed as a replica set to ensure data redundancy and high reliability.
- You cannot connect to a shard directly.