Resilience
DMS for RocketMQ provides a three-level reliability architecture and uses cross-AZ DR, intra-AZ instance DR, and instance data replication to ensure service durability and reliability.
Reliability Solution |
Description |
---|---|
Cross-AZ DR |
DMS for RocketMQ provides cross-AZ instances that support cross-AZ DR. When an AZ is abnormal, the instances can still provide services. |
Intra-AZ instance DR |
Each master has two slaves. To ensure strong data consistency, the slaves synchronize data from the master. When a node fault occurs, the master/slave roles are automatically switched by using the Raft protocol. |
Data DR |
Data DR is implemented through data replication. |
Cross-AZ DR Deployment Architecture

The following section applies only in v4.8.0. v5.x is only provided with TPS.
In v4.8.0, each broker has one master node and two standby nodes. For example, to purchase one broker, two brokers will be created; To purchase two brokers (as shown in Figure 1), six brokers will be created. NameServer is deployed on two brokers.
- Single-AZ
All components of a single-AZ instance are deployed in an AZ. By default, anti-affinity deployment is enabled for single-AZ instances. For high availability purpose, anti-affinity deployment creates master and standby nodes of a broker on different physical machines.
- Multi-AZ
Prerequisite: Three or more AZs are available in the region, as shown in Figure 2.
Components of a multi-AZ instance are deployed in three different AZs. In this way, cross-AZ DR is achieved.
- The two brokers of NameServer are deployed in two AZs.
- The master and standby nodes of each broker are randomly and evenly deployed in three AZs.
Figure 3 Multi-AZ deployment
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot