Abstract:

Recently, The Global open source event LinuxCon + ContainerCon + CloudOpen (LC3) hosted by The Linux Foundation was held in Beijing National Convention Center in China, attracting thousands of enthusiastic participants from all over The world.





Ali Cloud Redis team is also invited to participate in this event. Ali Cloud Redis team actively participates in the open source community, and currently maintains the open source ApsaraCache branch. At the same time, many people actively participate in the construction of Redis community. The conference Ali Cloud Redis team shared the open source road of ApsaraCache, ali cloud Redis made in the open source community improvement and product made an in-depth interpretation, at the same time, The Redis China user group ali cloud Redis team in the open source community contribution awarded the open source community outstanding contribution award.

ApsaraCache is a cloud database Redis version of the Redis branch, in October 14, 2017 Hangzhou Cloud Conference Ali Cloud announced the ApsaraCache project officially open source, Redis Salvatore witnessed this moment. ApsaraCache after five years of technical grinding and tens of thousands of production environment examples measured. Compared with Redis, ApsaraCache is significantly related to the scene and has nothing to do with the data scale. And in short connection, full memory reclamation, time-consuming instruction execution and other scenarios perform well. It is worth mentioning that ApsaraCache is not only compatible with Memcached protocol, but also reuses Redis architecture to bring new life to Memcache, such as supporting persistence, active/standby DISASTER recovery, backup and recovery, slow log audit, information statistics and other functions. Specifically, ApsaraCache also has many technical characteristics and advantages.

  • In disaster recovery, the kernel synchronization mechanism can be reconstructed, which solves the problem of full synchronization caused by the easy replication interruption of the native kernel on weak networks.
  • It is compatible with Memcached protocol and can support Memcached with double copies. Data can be persisted and more reliable Memcached service can be provided.
  • Short link optimization improves performance by more than 30% in short link scenarios, and improves performance significantly in scenarios where PHP short link applications are the majority.
  • AOF enhancement, avoiding the frequent host stability bottleneck caused by AOF Rewrite, and precise point-in-time recovery to the second level.
  • The unique hot upgrade mechanism increases the function of hot upgrade, which can complete the hot update of an instance within 3ms, and solves the impact of frequent kernel upgrades on users.
  • Unique instance health detection mechanism, through the addition of independent port thread detection to check whether the process is healthy, at the same time, the host hardware detection, if the host is abnormal in the case of active/standby switchover in advance.

Based on the ApsaraCache kernel ali Cloud provides a wealth of products for cloud customers to choose, for the test environment instance users can choose single node instance to reduce the cost as far as possible; For enterprise applications, the standalone active/standby version can be used to meet the service scenario where the content capacity is less than 64 gb and QPS is less than 10w. During peak user times, instances can be upgraded to cluster mode by upgrading specifications, supporting millions of visits and TERabytes of memory. For Internet customers, read/write separation can be used to expand the read traffic of services, ensuring the request delay of tens of millions of users. In terms of DISASTER recovery, users can select different Redis instances based on different Dr Requirements, for example, the Redis instances of the same host, the Redis instances of different available areas in the same city, and the Redis instances of remote replication. For financial or global customers, users can construct a global Redis cache using remote live technology.

Ali Cloud Redis team is also looking for students in the field of NoSQL to participate in the maintenance and improvement of open source community, welcome interested students to send resumes

The original link

This article is the original content of the cloud habitat community, shall not be reproduced without permission