All Products
Search
Document Center

ApsaraDB for Memcache:System architecture

Last Updated:Aug 08, 2023

Introduction

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.

Architecture

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.

Notes

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