Redis 6 RC1 release: SSL, ACL, RESP3, client caching and cluster agent, etc.

Redis 6 RC1 release, the project founder  antirez  introduced in the blog, which is (SSL and ACL and other characteristics which are associated with the enterprise) by far the most "business" oriented version, is the largest version, is also involved in the largest number of versions.

GA scheduled to be published next year between March to May.

Redis 6 new features include:

  • Many new module API
  • Better Expiration Period
  • SSL
  • ACL
  • RESP3
  • Client-side caching
  • 线程 I / O
  • Diskless copy on the replica
  • Redis benchmarks cluster support and improve Redis-cli
  • Systemd support rewrite
  • Redis Cluster agents together with Redis 6 release (different warehouses)
  • Redis 6 release Disque module (different warehouses)

antirez which highlights several characteristics:

RESP3

This is the Redis 6 new network protocol, but it is optional, begins with RESP2 connection mode, only when handshaking with the new HELLO command, before entering the new protocol mode. Why a new protocol? Because the old semantics is not enough. Further, RESP3 there are other functions, but is mainly the ability to return directly from the complex data type of the Redis, and the client for the data type to be transparent.

ACL

The author believes Redis need ACL, because people in the larger environment in which clients need to better control can perform certain operations. At the same time, add another point to the ACL Redis is isolated to protect the data from application errors infringement. Redis also provides for the ACL Redis module interface, so developers can write custom authentication methods.

SSL

This feature worth mentioning is that the work is done entirely in the absence of antirez participation, which shows changes in Redis development process. This may take a look at a simple combination of background: in most Redis 6 commit number is antirez, reached 685, while the number of zhaozhao.zz commit in second place is 81.

Client-side caching

antirez 此前已经详细介绍过该特性,我们也有相关分享:Redis 6 将采用全新协议 RESP3,以提供客户端缓存功能。当使用者需要进行快速存储或快速取操作时,就需要在客户端内存中存储一小部分信息,这可以降低程序获取数据时的延迟。

但是现在 antirez 认为这是 Redis 6 最不成熟的特性,他想在 Redis 6 GA 之前对此进行改进。可能会添加一个新模式,该新模式要求服务器不维护有关客户端的状态,或者根本不维护任何状态,并与更多消息进行交易。目前某些“缓存插槽”中过期的信息无法单一合并,antirez 表示一月份关于此特性还有更多工作要做。

Disque 成为模块

Disque 目的是构建分布式的内存中消息代理,此前它是一项实验功能,现在在 Redis 6 中成为模块,它可以支持集群消息总线 API,可以阻止和恢复客户端、支持计时器、模块私有数据的 AOF 和 RDB 控制功能。

集群代理

在 Redis 集群中,客户端会非常分散,现在为此引入了一个集群代理,可以为客户端抽象 Redis 群集,使其像正在与单个实例进行对话一样。同时在简单且客户端仅使用简单命令和功能时执行多路复用。

模块

Redis 6 的模块 API 达到了一个新高度,发展迅速,因为 Redis Labs 从零开始就使用模块系统来开发非常复杂的内容,使得 Redis 实际上变成一个框架,可以将系统作为模块来编写,而不必从头开始发明所有东西。

详情查看:

http://antirez.com/news/131

Guess you like

Origin www.oschina.net/news/112339/redis-6-rc1-released