Redis 2.2.0 RC1 is out

Redis 2.2.0 RC1 新特性:很多都是我所期待的;

  • Specially encoded data types, small lists and sets can now use up to an order of magnitude less memory.
  • VM partial rewrite for code cleaness and memory usage.* Change to the implementation of the top level dictionary for better memory efficienty.
  • redis-cli is hugely improved: tab completion, inline help (Thanks to TJ Holowaychuk), raw output, rewritten using the new hiredis C library.
  • Networking internals rewritten for efficiency. You can expect LRANGE and similar commands to be at least 10 times faster.
  • Most read only commands are now copy-on-write friendly, this means that Redis will use little memory when a saving child is active and the parent process is mostly stressed by read queries.
  • Non blocking replication even from the point of view of the slave, with configurable behavior about what to do when the link is disconnected. You can select if serving old data or replying with an error.
  • Check-and-set (CAS) transactions with the new WATCH command.* Now write operations work against keys with an EXPIRE set! Imagine the possibilities.
  • New maxmemory eviction policies. It is possible to select among LRU, farest TTL expire, and other algorithms, and if when the memory limit is reached only keys with an expire set or all the keys should be expired.
  • SETBIT / GETBIT / SETRANGE / GETRANGE / STRLEN. Now your strings are your arrays!* Syslog support (Thanks to Jonah H. Harris)
  • Unix domain socket support.
  • New List related functions LINSERT, LPUSHX, RPUSHX (Thanks to Robey Pointer)
  • BRPOPLPUSH (Thanks to Michel Martens and Damian Janowski)
  • Much more interesting informations in the INFO output.
  • Sorted sets are now less memory hungry.
  • Non blocking loading of .rdb / AOF file on startup, with progress information in the INFO output.
  • Now Redis has a clean, powerful, supported C library: hiredis.
  • Code layout completely new, the 2.0.x huge redis.c file is now splitted in many parts.
  • Redis-benchmark rewritten to be faster and in order to use hiredis as well.
  • Endless other CPU optimizations and bugs fixed.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值