4 ms·
Release notes are here: https://github.com/antirez/redis/raw/1a6281f52f6025a7c3304c3937cccf52deee48bb/00-RELEASENOTES https://github.com/antirez/redis/raw/1a62
by pjscott 16y ago
Release notes are here:
https://github.com/antirez/redis/raw/1a6281f52f6025a7c3304c3937cccf52deee48bb/00-RELEASENOTES https://github.com/antirez/redis/raw/1a6281f52f6025a7c3304c3...
A quick scan through there doesn't show anything hugely new and exciting, but a lot of good, solid improvements, all packaged up in a in a stable release.
- jzawodn 16y agoIt's definitely a worthwhile upgrade for those of us running it in production in demanding environments. Many of the memory optimizations alone will make upgrading worth it.
- samstokes 16y agoAmong the most interesting changes are the new expiry semantics (you can now reasonably expire compound values like lists and sets; previously if you appended to a list with an expiry set, it would first clear the list), and the WATCH command [1] which lets you construct atomic operations out of sequences of commands. [1] http://redis.io/commands/watch http://redis.io/commands/watch
- antirez 16y ago2.2 was exactly an "optimization" release, to bring what we had at a better level of maturity. Basically we'll try hard to don't add things to the API in the next releases, but just to open to new use cases changing the "backend" part, with cluster support for large fault tolerant deployment, and with diskstore for "bigdata". However there are a few important new things in Redis 2.2 from the point of view of the features, I think the main ones are: * non blocking replication, so that now slaves are able to serve data even when trying to resync with the master. * Check and Set with WATCH. * Write operations against keys with an expire set. * LRU eviction of keys in 'maxmemory' mode. * Support for SETBIT/GETBIT/SETRANGE/GETRANGE, basically this turn the string data type into a random access array.
- technoweenie 16y agoThe ziplist/zipmap optimization is excellent too. I took some sample data in Redis 2.0 and 2.2 and saw that Redis 2.2 used 1/5th the memory. Though, I was storing just lists of integers. See http://redis.io/topics/memory-optimization http://redis.io/topics/memory-optimization for more.