This page introduces the replica set node architecture of DDS to help you better understand DDS.
The replica set consists of a set of mongod processes, which provides a collection of nodes with data redundancy and high reliability. Data is automatically synchronized between replica sets to ensure high data reliability.
The replica set architecture is composed of Primary nodes, Secondary nodes, and Hidden nodes, and many replica sets of nodes are automatically built for users to use.
l The Primary nodes are used for read and write requests.
l The Secondary nodes are used for read requests.
l The Hidden nodes are used for data backup sources.
Users can directly operate the Primary node and Secondary node. If the Primary node fails, the system automatically selects the Secondary node as the new Primary node to ensure high availability.
The replica set instance specification supports three types of replica sets: three-node, five-node, and seven-node.
The Replica Set Architecture is as follows: