Alibaba Cloud ApsaraCache — On the Road to Open Source

What Is ApsaraCache

ApsaraCache is the Redis branch which is used by ApsaraDB for Redis. At the Computing Conference held last year in Hangzhou on October 14, Alibaba Cloud announced the ApsaraCache project’s official open source launch. This announcement was also witnessed by Salvatore, the founder of Redis and a renowned member.

  1. Its in-depth reinforcement for disaster tolerance means it is capable of restructuring the kernel synchronization mechanism to ensure full data synchronization performance solving the problem wherein the native vernal mechanism may suffer disconnections in replication operations in a weak network.
  2. It is compatible with the Memcached protocol. Its support of dual-replica Memcached enables data persistence and more reliable Memcached services.
  3. The performance in transient connection user cases has been improved by more than 30%. This produces significant performance improvements for applications with many PHP transient connections.
  4. The AOF enhancement can avoid the bottleneck on the host stability problem caused by frequent AOF rewrites and enable second-level recovery by time points.
  5. Its unique hot upgrade mechanism makes it possible for it to complete an instance’s hot update within three milliseconds thus removing frequent vernal upgrades’ impact to users.
  6. The unique instance health detection mechanism checks whether or not the process is healthy by adding a separate probe port thread, and detects the host hardware. If the host is abnormal, the Master/slave switchover is performed in advance.

Real-World Applications of Redis and ApsaraCache

Based on the ApsaraCache kernel, Alibaba Cloud provides a wide range of products for customers on the cloud. For test environment instances, users can choose a single-node instance to minimize cost. For enterprise applications, services can use the stand-alone master-slave version to meet scenarios where the content capacity is lower than 64 GB and the page view QPS is less than 100,000. During peak usage periods, the instance can be upgraded to the cluster model so as to support million-level access and TB-level memory.

Conclusion

Alibaba Cloud ApsaraDB for Redis is a key value database service that offers in-memory caching and high-speed access to applications hosted on the cloud. As a Redis protocol compatible tool, ApsaraDB for Redis offers exceptional read-write capabilities and ensures data persistence by using memory and hard disk storage.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com