Alibaba Cloud's ApsaraCache is officially open source, and Chinese technology is once again giving back to the world

Abstract:  On October 14th, at the 2017 Hangzhou Yunqi Conference, Alibaba Cloud announced that the ApsaraCache project of ApsaraCache was officially open sourced. Salvatore, the founder of Redis, witnessed this moment, which is another milestone for China's scientific and technological strength to contribute to the world.

 

ApsaraCache is a branch started to maintain on the basis of the community version 2.8, and backports some functions of the 3.0 branch. Compared with Redis, ApsaraCache's notable features are that it is related to the scene and has nothing to do with the scale of data; and it performs well in scenarios such as short connections, recovery when memory is full, and time-consuming instruction execution.

It is worth mentioning that ApsaraCache is not only compatible with the Memcached protocol, but also reuses the Redis architecture to bring new life to Memcache, such as supporting functions such as persistence, primary and secondary disaster recovery, backup recovery, slow log auditing, and information statistics. Specifically, ApsaraCache also has various technical features and advantages. First, it is deeply reinforced for disaster recovery, which can reconstruct the kernel synchronization mechanism and solve the problem of full synchronization caused by the easy replication and interruption of the native kernel under weak network conditions.

The second is compatible with the Memcached protocol, which can support double-copy Memcached, data can be persistent, and provide more reliable Memcached services)

The third is short link optimization, which improves the performance of short link scenarios by more than 30%, and the improvement effect is obvious for PHP short link applications.

The fourth is AOF enhancement, which avoids the bottleneck of host stability caused by frequent AOF Rewrite, and can recover by time points accurate to the second level.

The fifth is the unique hot upgrade mechanism, which adds the function of hot upgrade, which can complete the hot update of an instance within 3ms, which solves the impact of frequent kernel upgrades on users.

Sixth, it can be used for instance availability detection.

It is understood that in fact, before ApsaraCache was open sourced, the solution already had many successful customer cases, including Miaopai, Yizhuan, Inke, and China Internet TV in the live video industry; Momo Games, Longyuan in the game industry Network, Zhongqinglongtu, Changyou; at the same time, there are also people's livelihood news such as today's headlines, transportation such as AutoNavi Navigation, finance such as Ant Financial, and others such as DJI Innovation. It can be said that the scope of application and scenarios are very wide.

在商业取得成功之后,阿里云选择ApsaraCache开源,阿里云云数据库负责人余锋认为主要有以下几个方面:

首先,Redis在中国的用户群体和使用方式都发生着深刻的变化,遵循极简哲学设计的Redis在某些场景下的稳定性和性能都受到新的挑战。另外,很多云上客户在使用Redis的过程中也碰到了各种各样的问题,基于这些问题和挑战,ApsaraCache对Redis进行了大量的重构和改造,并决定将这些优化与社区共享。

其次,Redis是BSD License,相对比较自由,其最新版本Redis 4.0支持Redis Module功能,而Redis Module属于AGPL License,ApsaraCache后续也会支持Redis Module机制并开源功能Module代码,所以ApsaraCache开源也是对开源协议的尊重与遵守。

最后,ApsaraCache一直在等待Redis 4.0 Release版本的发布,待该版本发布之后会积极推动两边feature的融合,争取merge到社区主干。

据悉,在今年9月兼容Memcached协议和短链接的功能优化成功后,下一步ApsaraCache还将进一步优化其他功能。

“ApsaraCache是云数据库Redis版所使用的Redis分支,在此次正式开源前,已经过四年技术打磨和上万生产环境实例实测”,阿里云研究员、数据库负责人余锋表示,ApasaraCache开源是为了赋能Redis用户,也为了让Redis开发爱好者能够更好地参与进来。

Redis创始人Salvatore认为,ApsaraCache项目开源是一件非常好的事情,将能够吸引全世界更多Redis核心专家参与,进一步提升产品的稳定性和可用性。同时,也表明阿里巴巴拥有Redis产品开发的能力,希望未来我们一起努力提升产品的各种功能和特性,给Redis带来更多更好的改进。

据IDC最新发布的数据显示,阿里云在2016年中国IaaS公共云市场占有的份额达到40.67%,云数据库作为阿里云最重要的产品体系之一,目前已经拥有近20个产品,服务数十万客户,同时在线实例10w+以上,为中国企业的数字化转型升级提供源源不断的动力。

申请测试ApsaraCache开源代码,请查看

https://promotion.aliyun.com/ntms/act/apsaracache.html?spm=5176.100239.blogcont224335.14.evvke8

原文链接:https://yq.aliyun.com/articles/224335

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326449496&siteId=291194637