All Products
Document Center

ApsaraDB for Memcache:System architecture

Last Updated:Feb 13, 2023


ApsaraDB for Memcache uses a cluster-based architecture. It is embedded with data partitioning and reading algorithms. The whole process is transparent to the users and saves development and O&M hassles. Each partition node uses a master-slave architecture to guarantee high availability of services.


ApsaraDB for Memcache is comprised of three components, namely, the proxy server (service proxy), the partitioning server, and the configuration server.

  • Proxy server

    Single-node. A cluster structure may contain multiple proxies and the system implements load balance and failover for the proxies.

  • Partitioning server

    Each partitioning server is in a dual-copy highly available architecture. The system automatically implements the master-slave switchover in case of a fault in the master node to guarantee high availability of services.

  • Configuration server

    The server is used to store cluster configuration information and partitioning policies. It currently adopts dual-copy architecture to guarantee high availability.


  • The quantities of proxy servers, sharding servers, and configuration servers depend on the purchased specification.

  • A Memcache cluster exposes a uniform domain for access. You can visit this domain for normal access to and data operations on Memcache. The proxy server, the partitioning server and the configuration server do not provide domain access and cannot be directly accessed for operations.