Master/Standby Redis
This section describes master/standby DCS Redis instances. Three Redis versions are available for master/standby DCS Redis instances: Redis 3.0, Redis 4.0, and Redis 5.0.
Features
Master/Standby DCS instances have higher availability and reliability than single-node DCS instances.
Master/Standby DCS instances have the following features:
- Data persistence and high reliability
By default, data persistence is enabled by both the master and the standby node of a master/standby DCS instance.
The standby node of a DCS Redis instance is invisible to you. Only the master node provides data read/write operations.
- Data synchronization
Data in the master and standby nodes is kept consistent through incremental synchronization.
After recovering from a network exception or node fault, master/standby instances perform a full synchronization to ensure data consistency.
- Automatic master/standby switchover
If the master node becomes faulty, the standby node takes over within 30 seconds, without requiring any service interruptions or manual operations.
- DR policies
Each master/standby instance can be deployed across AZs with physically isolated power supplies and networks. Applications can also be deployed across AZs to achieve HA for both data and applications.
Architecture
Figure 1 shows the architecture of master/standby DCS Redis instances.
To access a DCS Redis 3.0 instance, you must use port 6379. To access a DCS Redis 4.0 or 5.0 instance, you can customize the port. If no port is specified, the default port 6379 will be used. In the following architecture, port 6379 is used. If you have customized a port, replace 6379 with the actual port.
Architecture description:
- VPC
The VPC where all nodes of the instance are run.
For intra-VPC access, the client and the instance must be in the same VPC with specified security group rule configurations.
For details, see Security Group Configurations.
- Application
The Redis client of the instance, which is the application running on the ECS.
DCS Redis instances are compatible with the Redis protocol, and can be accessed through open-source clients. For examples of accessing DCS instances, see Accessing an Instance.
- DCS instance
Indicates a master/standby DCS instance which has a master node and a standby node. By default, data persistence is enabled and data is synchronized between the two nodes.
DCS monitors the availability of the instance in real time. If the master node becomes faulty, the standby node becomes the master node and resumes service provisioning.
DCS Redis instances are accessed through port 6379 by default.
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