Redis 3.0.0 RC4 发布,此版本是唯一不包括 Redis Cluster bug 修复的 RC 版本!但是此版本并不是稳定版本,因为发现了一个 LRU eviction 算法的 bug。此版本包括关于 redis-cli 方面的新特性,一个使用 xterm 256 颜色的延迟光谱可视化工具。 Reids 团队计划两周后发布一个 RC 版本或者是 3.0.0 稳定版本。 Reids 3.0.0.RC4 常规改进: * [FIX] redis-cli CSV output NIL spurious newline removed. (Matt Collier) * [FIX] Memory efficiency test in unit test is now much faster: it affacted the total "make test" execution time in a bad way. (Salvatore Sanfilippo) * [FIX] Fixes and improvements to dict.c and LRU eviction. Redis 3.0.0 new LRU eviction had bugs creating high latency spikes when LRU was happening during the keys dictionary rehashing. This bug is not present into 2.8, was 3.0 specific. As a side effect of this issue dict.c is now improved, and LRU algorithm is more precise (better approximates true LRU). This was a joint effort, see issue #2306 for details. (Oran Agra, Sun He, Salvatore Sanfilippo). Thanks to Charsyam for spotting an integer overflow. * [NEW] New latency tool: redis-cli --latency-dist is able to show an xterm-256 based spectrum of latencies over time. (Salvatore Sanfilippo) * [NEW] redis-cli --lru-test implemented (cache workload simulator). (Salvatore Sanfilippo) * [NEW] redis-cli --stat now shows LOAD when Redis is loading data. * [NEW] Support "1G" etc. units in CONFIG SET. (Chris Lamb, Salvatore Sanfilippo) 更多改进内容请看发行说明。 Redis 是一个高性能的key-value数据库。 redis的出现,很大程度补偿了memcached这类keyvalue存储的不足,在部 分场合可以对关系数据库起到很好的补充作用。它提供了Python,Ruby,Erlang,PHP客户端,使用很方便。 性能测试结果: SET操作每秒钟 110000 次,GET操作每秒钟 81000 次,服务器配置如下: Linux 2.6, Xeon X3320 2.5Ghz. stackoverflow 网站使用 Redis 做为缓存服务器。 Redis 在 CentOS 下的启动脚本请看这里。 Redis 3.0.0 RC4 发布,无 Redis Cluster 修复下载地址