Help Center> Distributed Cache Service> Service Overview> DCS Instance Types> Master/Standby Memcached (Discontinued)
Updated on 2022-12-08 GMT+08:00

Master/Standby Memcached (Discontinued)

DCS for Memcached is no longer provided. You can use DCS Redis instances instead.

This section describes master/standby DCS Memcached instances.

Features

Master/Standby instances have higher availability and reliability than single-node instances.

Master/Standby DCS Memcached instances have the following features:

  1. Data persistence and high reliability

    By default, data persistence is enabled by both the master and the standby node of a master/standby DCS Memcached instance. In addition, data persistence is supported to ensure high data reliability.

    The standby node of a DCS Memcached instance is invisible to you. Only the master node provides data read/write operations.

  2. 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.

  3. 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.

  4. Multiple 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 of Master/Standby DCS Memcached Instances

Figure 1 shows the architecture of master/standby DCS Memcached instances.

Figure 1 Master/Standby DCS Memcached instance architecture

Architecture description:

  • VPC

    The VPC where all nodes of the instance are run.

    Master/Standby DCS Memcached instances do not support public access. The client and the instance must be in the same VPC with security group rule configurations.

    For more information, see How Do I Configure a Security Group?

  • Application

    The Memcached client of the instance, which is the application running on the ECS.

    DCS Memcached instances are compatible with the Memcached protocol, and can be accessed through open-source clients. For examples of accessing DCS instances with different programming languages, see Accessing a DCS Memcached 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.

    Use port 11211 to access a DCS Memcached instance.