2011-06-09 12:25:21 +02:00
|
|
|
Redis 2.4 release notes
|
2010-12-20 13:32:54 +01:00
|
|
|
|
2011-06-09 12:25:21 +02:00
|
|
|
Migrating from 2.2 to 2.4
|
2010-12-20 13:32:54 +01:00
|
|
|
=========================
|
|
|
|
|
2011-06-09 12:25:21 +02:00
|
|
|
Redis 2.2 is mostly a strict subset of 2.4.
|
|
|
|
The only thing you should be aware is that you can't use .rdb and AOF files
|
|
|
|
generated with 2.4 into a 2.2 instance.
|
|
|
|
|
|
|
|
2.4 slaves can be attached to 2.2 masters, but not the contrary.
|
|
|
|
|
|
|
|
From the point of view of the API Redis 2.4 only adds new commands
|
|
|
|
(other commands now accepts a variable number of arguments) so you don't need
|
|
|
|
to modify your program in order to use Redis 2.4.
|
2010-12-20 13:32:54 +01:00
|
|
|
|
2011-01-25 10:21:13 +01:00
|
|
|
---------
|
|
|
|
CHANGELOG
|
|
|
|
---------
|
|
|
|
|
2011-06-09 12:25:21 +02:00
|
|
|
What's new in Redis 2.3.5 (2.4 Release Candidate 1)
|
2010-12-20 13:32:54 +01:00
|
|
|
===================================================
|
2010-12-15 16:44:29 +01:00
|
|
|
|
2011-06-09 12:25:21 +02:00
|
|
|
This is the first Release Candidate of Redis 2.4, in our experience the
|
|
|
|
server is very stable, however it is always better to closely monitor your
|
|
|
|
server if you switch to 2.4 RC1. Also make sure to perform a backup of your
|
|
|
|
old data set before switching from 2.2 to 2.4.
|
2010-12-15 16:44:29 +01:00
|
|
|
|
2011-06-09 12:25:21 +02:00
|
|
|
WHAT'S NEW IN REDIS 2.4 compared to the 2.2 version?
|
2010-12-20 13:32:54 +01:00
|
|
|
====================================================
|
2010-12-15 16:44:29 +01:00
|
|
|
|
2011-06-09 12:25:21 +02:00
|
|
|
* Specially encoded sorted sets, now small sorted sets will use little memory.
|
|
|
|
* Native persistence of specially encoded data types (ziplists, zipmaps,
|
|
|
|
intsets). Many data sets will be saved and loaded an order of magnitude
|
|
|
|
faster.
|
|
|
|
* Variadic versions of commands: SADD, HDEL, SREM, ZREM, ZADD, L/RPUSH.
|
|
|
|
* Jemalloc support (enabled by default for Linux build) in order to
|
|
|
|
avoid fragmentation issues.
|
|
|
|
* Reduced memory usage while saving.
|
|
|
|
* More info fields (peak memory, fork time, ...)
|
|
|
|
* OBJECT command for objects introspection.
|
|
|
|
* CLIENT command for clients introspection.
|
|
|
|
* Non blocking slave -> master connection.
|
|
|
|
* Better redis-cli connection handling. New redis-cli features.
|
|
|
|
* Better redis-benchmark, now able to benchmark user provided commands.
|
|
|
|
* Colorized Make.
|
|
|
|
* VM deprecated. Still supported but with a big warning... don't use it.
|
|
|
|
* Many speed optimizations and bug fixes.
|
|
|
|
|
|
|
|
Credits: 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.
|
2010-12-15 17:19:01 +01:00
|
|
|
|
|
|
|
Cheers,
|
|
|
|
Salvatore
|