]> git.saurik.com Git - redis.git/blame_incremental - 00-RELEASENOTES
more work converting vm into object cache
[redis.git] / 00-RELEASENOTES
... / ...
CommitLineData
1Welcome to Redis 2.1.9 (2.2 Release Candidate 1)
2
3This is the first Release Candidate of Redis 2.2, in our experience the
4server is very stable, but in the latest weeks we rewrote part of the internals
5in order to use a lot less memory while the saving child process is performing
6a BGREWRITEAOF or a BGSAVE, so handle with care for a couple of weeks.
7
8Oh, and I've some very good news: the majority of apps can work if you simply replace 2.2 in your old 2.0 environment. I can't think of any breakage.
9
10WHAT'S NEW IN REDIS 2.2.x
11
12* Specially encoded data types, small lists and sets can now use up to an order of magnitude less memory.
13* VM partial rewrite for code cleaness and memory usage.
14* Change to the implementation of the top level dictionary for better memory efficienty.
15* redis-cli is hugely improved: tab completion, inline help (Thanks to TJ Holowaychuk), raw output, rewritten using the new hiredis C library.
16* Networking internals rewritten for efficiency. You can expect LRANGE and similar commands to be at least 10 times faster.
17* 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.
18* 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.
19* Check-and-set (CAS) transactions with the new WATCH command.
20* Now write operations work against keys with an EXPIRE set! Imagine the possibilities.
21* 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.
22* SETBIT / GETBIT / SETRANGE / GETRANGE / STRLEN. Now your strings are your arrays!
23* Syslog support (Thanks to Jonah H. Harris)
24* Unix domain socket support.
25* New List related functions LINSERT, LPUSHX, RPUSHX (Thanks to Robey Pointer)
26* BRPOPLPUSH (Thanks to Michel Martens and Damian Janowski)
27* Much more interesting informations in the INFO output.
28* Sorted sets are now less memory hungry.
29* Non blocking loading of .rdb / AOF file on startup, with process information in the INFO output.
30* Now Redis has a clean, powerful, supported C library: hiredis.
31* Code layout completely new, the 2.0.x huge redis.c file is now splitted in many parts.
32* Redis-benchmark rewritten to be faster and in order to use hiredis as well.
33* Endless other CPU optimizations and bugs fixed.
34
35Credits: Where not specified the implementation and design are done by Salvatore Sanfilippo and Pieter Noordhuis. Thanks to VMware for making all this possible. Also many thanks to all the other contributors and the amazing community we have.
36
37Cheers,
38Salvatore