Redis 3.2.2 发布,超高性能 key-value 数据库 - 开源中国社区
Redis 3.2.2 发布,超高性能 key-value 数据库
oschina 2016年07月29日

Redis 3.2.2 发布,超高性能 key-value 数据库

oschina oschina 发布于2016年07月29日 收藏 27

腾讯云 十分钟定制你的第一个小程序>>>  

Redis 3.2.2 发布了,Redis 是一个高性能的key-value数据库。 redis的出现,很大程度补偿了memcached这类keyvalue存储的不足,在部 分场合可以对关系数据库起到很好的补充作用。它提供了Python,Ruby,Erlang,PHP客户端,使用很方便。

以下是该版本发布值得关注的内容:

bug 修复:

  1. There was a bug in the List type implementation, able to cause the crash of the server under certain (non trivial to replicate) circumstances when the LSET command was used. Now the bug is fixed and a new stress tester that was able to easily trigger the bug was added to the test suite.

  2. Redis Sentinel, when monitoring multiple masters, could crash after a Sentinel address update event.

  3.  Redis Sentinel now checks slaves INFO state more often when disconnected. This is not really a bug fix, but may allow to more easily detect that a slave is able to fail over its master reducing certain delays.

  4. It was possible, under a variety of conditions, that the AOF and RDB children process could spawn at the same time. This is known to trash disk I/O, AOF performances, and to ultimately create latency in the Redis server. Normally Redis avoids to have the two writing children at the same time, but there were edge cases discovered by Oran Agra (that also co-authored the fix with me) where the double-fork could happen. In order to fix this bug non trivial changes to the replication code were operated, however it was important to back port this fix into 3.2.2 because the bug could lead to bad latency experiences in certain cases.

  5. Many GEORADIUS bugs are now fixed \o/. This started as a failing CI test. I grepped for more clues and there were a number of random failures in the points reported by GEORADIUS. The errors were found to be related to three different bugs (one of these was a bug in the test itself). It's not a critical bug: the effect is to, sometimes, don't report objects that are near the radius, but only with specific sets of coordinates and radius settings. However now the issues are fixed and the error vectors were added as regression tests. 

新特性:

  1. Now slaves support the slave-announce-ip and slave-announce-port options. Using these features a slave can be reported by the master `INFO` output and `ROLE` command as having arbitrary IP and port. This allows to have Sentinel deployments when working with containers or NAT-ed environments more easily.

  2. The RDB check utlity is now part of Redis and uses the same RDB code that Redis uses in order to load the dataset in memory, so a given version of Redis is always able to check the RDB it produced... without another external check tool which is supposed to be taken in sync with the rdb.c implementation. This in turn also means that the new RDB checking is able to spot more complex bugs, since it really loads the dataset instead of just skipping bytes.

了解更多更新信息,查看完整发布说明

下载地址:

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Redis 3.2.2 发布,超高性能 key-value 数据库
分享
评论(11)
最新评论
0

引用来自“excepiton”的评论

现在做服务器开发不知道redis都不好意思了

引用来自“天天天”的评论

但不用
用不用看业务场景,知不知道是另外一回事
0
redis是个好东西
0
没有翻译,看的累
0
确实,为了规避 MySQL 实时写,Redis 是个很好的解决方案。
0

引用来自“excepiton”的评论

现在做服务器开发不知道redis都不好意思了
但不用
0
现在做服务器开发不知道redis都不好意思了
0
java怎么使用?有客户端吗?
0
2楼广告
0
0
之前写过redis的入门,free的在线可练习的那种,有兴趣的可以试试:

http://www.hubwiz.com/course/55473be8ebfde9b5591bb813/
0
还是用的2.8
顶部