Redis 6.0 正式版终于发布了!除了多线程还有什么新功能?
2021-01-29 23:18
标签:cli rand 持久 ISE 密钥 choice mil history disco Redis 6.0.1 于 2020 年 5 月 2 日正式发布了,如 Redis 作者 antirez 所说,这是迄今为止最“企业”化的版本,也是有史以来改动最大的一个 Redis 版本,同时也是参与开发人数最多的一个版本。 所以在使用此版本之前,建议各位开发者先进行深入的测试再考虑投产,毕竟生产坏境无小事。好了,回到本文的重点,接下来我们来重点看下 Redis 6.0.1 给我们带来了那些新功能。 所以在使用此版本之前,建议各位开发者先进行深入的测试再考虑投产,毕竟生产坏境无小事。好了,回到本文的重点,接下来我们来重点看下 Redis 6.0.1 给我们带来了那些新功能。 Redis 6 的更新日志,主要包含以下五部分的内容: 除了以上这些版本的更新日志外,还有 6.0.1 正式版的更新日志,不过这个正式版的发布时间只比 Redis 6.0.0 GA 晚了两天,因此只修复了一些 bug,所以我们只需要看以上五个日志即可。 官方更新日志如下: Redis 6 improves Redis in a number of key areas and is one of the largest 此版本新增的内容最大,如下列表所示: Hi Redis users, Redis 6 is approaching and will be released 30th of April. Redis 6 RC2 brings many fixes and new things, especially in the area of New features and improvements: Fixes (only selected ones, see commits for all the fixes): Redis 6 RC2 带来了许多修复和新功能,尤其是客户端的缓存功能,此版本的重大更改如下列表。 Dear users, this is a list of the major changes in this release, please check? 这个版本主要是修复了一些 bug,如下列表所示: Hi all, this the latest release candidate of Redis 6. This is likely to Main changes in this release: * Big INFO speedup when using a lot of of clients. 此版本主要新增的内容如下: Hi all, finally we have Redis 6.0.0 GA! Enjoy this new Redis release. 此日志更新的主要内容如下: Redis 6.0.1 正式版的下载地址为:https://redis.io/ 官方的更新日志(英文):https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES 综合以上所有版本的更新日志我们发现,这次 Redis 6.0 带来的主要功能是: 其中多线程?I/O 能力是我们最关注的功能了,有人用它和单线程的版本做个一个性能对比,如下图所示: 从以上结果可以看到 GET/SET 命令在多线程版本中的性能相比单线程已经翻倍了。 总体来说,此次 Redis 6.0 带给我们的功能还是很大并且很实用的,只是版本改动太大,我们需要等待时间的验证和大量的测试之后才建议上线至生产环境。 原创不易,如果觉得本文对你有用,请随手点击一个「赞」,这是对作者最大的支持与鼓励,谢谢你。 参考 & 鸣谢 Redis 官方文档 Redis 6.0 正式版终于发布了!除了多线程还有什么新功能? 标签:cli rand 持久 ISE 密钥 choice mil history disco 原文地址:https://www.cnblogs.com/vipstone/p/12821650.htmlRedis 新功能介绍
1.Redis 6.0-rc1 更新日志
Redis releases in the history of the project, so here we‘ll list only
the biggest features in this release:
? to make things otherwise not possible in the past. It is possible to
? store arbitrary module private data in RDB files, to hook on different
? server events, capture and rewrite commands executions, block clients on
? keys, and so forth.
? that are already expired. Now the effort is tunable.
? can only access only certain keys patterns.
? semantical replies: new clients using this protocol can understand just
? from the reply what type to return to the calling program.
? feature is still experimental and will get more changes during the next
? release candidates, but you can already test it and read about it here:
? https://redis.io/topics/client-side-caching
? 2 times as much operations per second in a single instance when
? pipelining cannot be used.
? able, under certain conditions the user can configure, to load the RDB
? in the first synchronization directly from the socket to the memory.
? https://github.com/artix75/redis-cluster-proxy
? https://github.com/antirez/disque-module
2.Redis 6.0-rc2 更新日志
New release candidates will be released at the end of March, then another
one mid April, to finally reach the GA at the end of April.
client side caching. This is the list of big changes in this release. As
usually you can find the full list of commits at the end:
3.Redis 6.0-rc3 更新日志
the list of commits for detail:
? resolution regardless of the number of connected clinets. New timeouts
? are stored in a radix tree and sorted by expire time.
? and restarting it. The instance will act as a replica but will actually be
? set as a master immediately. However the choice of what to do with already
? expired keys, on loading, was made from the POV of replicas.
? that is still sending PINGs to replicas, to be able to successfully
? PSYNC incrementally to new slaves, discarding the last part of the
? replication backlog consisting only of PINGs.
4.Redis 6.0-rc4 更新日志
be very similar to what you‘ll see in Redis 6 GA. Please test it and
report any issue ??
? ? * Big speedup on all the blocking commands: now blocking
? ? ? on the same key is O(1) instead of being O(N).
? ? * Stale replicas now allow MULTI/EXEC.
? ? * New command: LCS (Longest Common Subsequence).
? ? * Add a new configuration to make DEL like UNLINK.
? ? * RDB loading speedup.
? ? * Many bugs fixed (see the commit messages at the end of this node)
5.Redis 6.0.0 GA 更新日志
Most of the documentation was updated today so that you can likely
find what you are looking for about the new features at redis.io.
This is the list of what changed compared to the previoius release candidate:
? changes performed by ourselves.
? It means you can use it as a general purpose "secure random strings"
? primitive!
? resynchronizations.
总结
(注:图片来源于 iTushou.com)最后的话
文章标题:Redis 6.0 正式版终于发布了!除了多线程还有什么新功能?
文章链接:http://soscw.com/essay/48899.html