Created
October 24, 2012 06:47
-
-
Save lqez/3944436 to your computer and use it in GitHub Desktop.
An overview of new features and changes in Redis 2.6.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An overview of new features and changes in Redis 2.6.x | |
====================================================== | |
* Server side Lua scripting, see http://redis.io/commands/eval | |
* Virtual Memory removed (was deprecated in 2.4) | |
* Hardcoded limits about max number of clients removed. | |
* AOF low level semantics is generally more sane, and especially when used in slaves. | |
* Milliseconds resolution expires, also added new commands with milliseconds precision (PEXPIRE, PTTL, ...). | |
* Better memory usage for "small" lists, ziplists and hashes when fields or values contain small integers. | |
* Read only slaves. | |
* New bit opeations: BITCOUNT and BITOP commands. | |
* Clients max output buffer soft and hard limits. You can specifiy different limits for different classes of clients (normal,pubsub,slave). | |
* More incremental (less blocking) expired keys collection algorithm, in practical terms this means that Redis is more responsive when a very big number of keys expire about at the same time. | |
* AOF is now able to rewrite aggregate data types using variadic commands, often producing an AOF that is faster to save, load, and is smaller in size. | |
* Every redis.conf directive is now accepted as a command line option for the redis-server binary, with the same name and number of arguments. | |
* Hash table seed randomization for protection against collisions attacks. | |
* Performances improved when writing large objects to Redis. | |
* Integrated memory test, see redis-server --test-memory. | |
* INCRBYFLOAT and HINCRBYFLOAT commands. | |
* New DUMP, RESTORE, MIGRATE commands (back ported from Redis Cluster to 2.6). | |
* CRC64 checksump in RDB files. | |
* Better MONITOR output and behavior (now commands are logged before execution). | |
* "Software Watchdog" feature to debug latency issues. | |
* Significant parts of the core refactored or rewritten. New internal APIs and core changes allowed to develop Redis Cluster on top of the new code, however for 2.6 all the cluster code was removed, and will be released with Redis 3.0 when it is more complete and stable. | |
* Redis ASCII art logo added at startup. | |
* Crash report on memory violation or failed asserts improved significantly to make debugging of hard to catch bugs simpler. | |
* redis-benchmark improvements: ability to run selected tests, CSV output, faster, better help. | |
* redis-cli improvements: --eval for comfortable development of Lua scripts. | |
* SHUTDOWN now supports two optional arguments: "SAVE" and "NOSAVE". | |
* INFO output split into sections, the command is now able to just show pecific sections. | |
* New statistics about how many time a command was called, and how much execution time it used (INFO commandstats). | |
* More predictable SORT behavior in edge cases. | |
* Better support for big endian and *BSD systems. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment