Redis 6.0 正式版终于发布了!除了多线程还有什么新功能?

时间:2020-07-31 01:25:26   收藏:0   阅读:126
这是我的第 56 篇原创文章

技术图片

Redis 6.0.1 于 2020 年 5 月 2 日正式发布了,如 Redis 作者 antirez 所说,这是迄今为止最“企业”化的版本,也是有史以来改动最大的一个 Redis 版本,同时也是参与开发人数最多的一个版本。
所以在使用此版本之前,建议各位开发者先进行深入的测试再考虑投产,毕竟生产坏境无小事。好了,回到本文的重点,接下来我们来重点看下 Redis 6.0.1 给我们带来了那些新功能。
Redis新功能介绍

Redis 6 的更新日志,主要包含以下五部分的内容:

  1. Redis 6.0-RC1 版新功能介绍;
  2. Redis 6.0-RC2 版新功能介绍;
  3. Redis 6.0-RC3 版新功能介绍;
  4. Redis 6.0-RC4 版新功能介绍;
  5. Redis 6.0.0 GA 版新功能介绍。
    除了以上这些版本的更新日志外,还有 6.0.1 正式版的更新日志,不过这个正式版的发布时间只比 Redis 6.0.0 GA 晚了两天,因此只修复了一些 bug,所以我们只需要看以上五个日志即可。
    1.Redis 6.0-rc1 更新日志

官方更新日志如下:
Redis 6 improves Redis in a number of key areas and is one of the largest Redis releases in the history of the project, so here we‘ll list only the biggest features in this release:

Hi Redis users, Redis 6 is approaching and will be released 30th of April. 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.
Redis 6 RC2 brings many fixes and new things, especially in the area of 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:
New features and improvements:

ACL LOG: log denied commands, keys accesses and authentications.
Client side caching redesigned. Now we use keys not caching slots.
Client side caching: Broadcasting mode implemented.
Client side caching: OPTIN/OPTOUT modes implemented.
Remove RDB files used for replication in persistence-less instances (option).

Fixes (only selected ones, see commits for all the fixes):

Different fixes to streams in edge cases.
Fix duplicated CLIENT SETNAME reply because of RESP3 changes.
Fix crash due to new active expire division by zero.
Avoid sentinel changes promoted_slave to be its own replica.
Fix bug on KEYS command where pattern starts with * followed by \x00.
Threaded I/O: now the main thread is used as well to do I/O.
Many fixes to modules APIs, and more to come in the next RCs.
ld2string should fail if string contains \0 in the middle.
Make the Redis test more reliable.
Fix SPOP returning nil (see #4709). WARNING: API change.

Redis 6 RC2 带来了许多修复和新功能,尤其是客户端的缓存功能,此版本的重大更改如下列表。

Dear users, this is a list of the major changes in this release, please check the list of commits for detail:

Hi all, this the latest release candidate of Redis 6. This is likely to be very similar to what you‘ll see in Redis 6 GA. Please test it and report any issue :-)
Main changes in this release:

Upgrade urgency CRITICAL: many bugs fixed compared to the last release candidate. Better to upgrade if you see things affecting your environment in the changelog.
Hi all, finally we have Redis 6.0.0 GA! Enjoy this new Redis release. 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:

Redis 6.0.1 正式版的下载地址为:https://redis.io/
官方的更新日志(英文):https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES
总结

综合以上所有版本的更新日志,我们发现这次 Redis 6.0 带来的主要功能是:

原创不易,如果觉得本文对你有用,请随手点击一个「在看」,这是对作者最大的支持与鼓励,谢谢你。

参考 & 技术图片鸣谢
Redis 官方文档

别再问我 new 字符串创建了几个对象了!我来证明给你看!

String性能提升10倍的几个方法!(源码+原理分析)

技术图片
关注公众号发送”进群“,老王拉你进读者群。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!