ApsaraDB for Memcache is an in-memory caching service for high-speed access to large volumes of small data. It reduces backend database load and improves response times for web applications and APIs.
ApsaraDB for Memcache is fully compatible with the Memcached protocol. You can connect any Memcached-compatible client. Alibaba Cloud manages the underlying hardware, network security, and system maintenance.
Use cases
| Use case | Description |
|---|---|
| Database offloading | Cache frequently read data — such as product listings, user profiles, or session state — to reduce query load on your primary database. |
| Dynamic web acceleration | Store rendered page fragments or API responses in cache to cut latency for high-traffic endpoints. |
| Session management | Keep user session data in a low-latency cache to support stateless application servers at scale. |
Key concepts
| Concept | Description |
|---|---|
| Instance | A standalone ApsaraDB for Memcache cluster that you create and connect your application to. |
| Key-value store | The data model used by Memcache. Each entry is a key mapped to a value, optimized for fast reads and writes. |
| Memcached protocol | The open-source caching protocol that ApsaraDB for Memcache implements. Any client library compatible with Memcached works without modification. |
Get started
-
Create an ApsaraDB for Memcache instance in the Alibaba Cloud console. Select your region and instance specifications.
-
Connect your application to the instance using a Memcached-compatible client.
-
Run basic read and write operations to verify connectivity.