alibaba/ApsaraCache logo

alibaba/ApsaraCache

Free

archived | ApsaraCache is a Redis branch originated from Alibaba Group.

FreeFree tier
Type
Open Source
Company
Alibaba Group

About alibaba/ApsaraCache

ApsaraCache is an archived open-source Redis branch originating from Alibaba Group, based on Redis official release 4.0. It extends Redis with support for both Memcached protocols (classic ASCII and binary), enabling direct use as a Memcached replacement without client modifications, while also providing data persistence. ApsaraCache delivers a 30% performance improvement in short connection scenarios compared to vanilla Redis and has been proven stable and efficient in production environments. The project is licensed under BSD-3-Clause and is now read-only.

Key Features

Based on Redis official release 4.0
Supports Memcached protocols (classic ASCII and binary)
Data persistence in Memcached mode similar to Redis
30% performance increase in short connection scenarios compared to vanilla Redis
Drop-in replacement for Memcached without client code changes
Stable and efficient in production environments

Pros & Cons

Pros
  • Open source with permissive BSD-3-Clause license
  • Production-proven stability and efficiency
  • Supports both Redis and Memcached protocols in one server
  • Offers data persistence for Memcached mode
  • Performance boost over vanilla Redis for short connections
Cons
  • Project is archived and no longer actively maintained
  • Based on older Redis 4.0; lacks newer Redis features and updates
  • Documentation and community support may be limited due to archived status

Best For

Caching layer requiring both Redis and Memcached compatibilityHigh-performance key-value storage with persistenceMigrating from Memcached to a persistent data storeShort-lived connection workloads (e.g., web session caching)

FAQ

What is ApsaraCache?
ApsaraCache is a Redis branch originated from Alibaba Group, based on Redis 4.0, with enhancements including Memcached protocol support and performance improvements.
How can I run ApsaraCache in Memcached mode?
Add the option 'protocol memcache' to redis.conf and start the server. You can then use telnet to interact via the classic ASCII protocol.
Is ApsaraCache still maintained?
No, the repository was archived by the owner on Feb 27, 2024, and is now read-only.
What license does ApsaraCache use?
ApsaraCache is licensed under the BSD-3-Clause license.