基于內存的Key-Value數據庫,Redis 3.2 rc 1 發布
Redis是一個開源,先進的key-value存儲,并用于構建高性能,可擴展的Web應用程序的完美解決方案。
Redis從它的許多競爭繼承來的三個主要特點:
-
Redis數據庫完全在內存中,使用磁盤僅用于持久性。
-
相比許多鍵值數據存儲,Redis擁有一套較為豐富的數據類型。
-
Redis可以將數據復制到任意數量的從服務器。
Redis 優勢
-
異常快速:Redis的速度非常快,每秒能執行約11萬集合,每秒約81000+條記錄。
-
支持豐富的數據類型:Redis支持最大多數開發人員已經知道像列表,集合,有序集合,散列數據類型。這使得它非常容易解決各種各樣的問題,因為我們知道哪些問題是可以處理通過它的數據類型更好。
-
操作都是原子性:所有Redis操作是原子的,這保證了如果兩個客戶端同時訪問的Redis服務器將獲得更新后的值。
-
多功能實用工具:Redis是一個多實用的工具,可以在多個用例如緩存,消息,隊列使用(Redis原生支持發布/訂閱),任何短暫的數據,應用程序,如Web應用程序會話,網頁命中計數等。
* [NEW] Lua scripts "effect replication". Makes possible to write scripts
with side effects, use of random commands, and so forth.
(Salvatore Sanfilippo)
* [NEW] Geo indexing support via GEOADD, GEORADIUS and other commands.
See http://redis.io/commands/geoadd for more information.
(Initially implemented in a fork of Redis called "Ardb".
Matt Stancliff "imported back" the work to Redis and created the
initial API and implementation. Salvatore Sanfilippo modified
the API and the implementation, fixed bugs, improved performances
and unified the duplicated code with t_zset.c)
* [NEW] Lua debugger. A complete stepping, remote debugger for Lua scripts.
Video here: https://www.油Tube.com/watch?v=IMvRfStaoyM
* [NEW] SDS improvements for speed and maximum string length.
This makes Redis more memory efficient in different use cases.
(Design and implementation by Oran Agra, some additional work
by Salvatore Sanfilippo)
* [NEW] Modify Jemalloc size classes to make certain Redis objects fit
better, improving memory efficiency. (Oran Agra)
* [NEW] Better consistency behavior between masters and slaves for expired
keys. The slaves are only able to logically consider a key expired
even before receiving the `DEL` command from the master. This avoids
the delay there is sometimes between the natural expire of the key
and the moment the slave is notified. (Salvatore Sanfilippo)
* [NEW] Support daemon supervision by upstart or systemd (Pierre-Yves Ritschard)
* [NEW] New encoding for the List type: Quicklists. Very important memory
savings and storage space in RDB gains (up to 10x sometimes).
(Design and implementation by Matt Stancliff. RDB storage reworked
by Salvatore Sanfilippo)
* [NEW] SPOP with optional count argument. (Initial implementation by
Alon Diamant, mostly reimplemented by Salvatore Sanfilippo for speed
and in order to make the replication of a this class of commands,
having as logical effect the execution of multiple commands, possible).
* [NEW] Support for RDB AUX fields. Now RDB files contain additional info
like the creation date, version of Redis generating it and so forth.
(Salvatore Sanfilippo)
* [NEW] Faster RDB loading via the RESIZEDB opcode to avoid useless hash tables
rehashings. (Salvatore Sanfilippo)
* [NEW] HSTRLEN command. (@landmime and Salvatore Sanfilippo)
* [NEW] CONFIG SET/GET implementations refactored, partially rewritten,
now exposing more config options. (Salvatore Sanfilippo)
* [NEW] CLUSTER NODES major speedup. (Salvatore Sanfilippo)
* [NEW] CLIENT KILL TYPE MASTER, to kill (disconnect) masters from slaves.
(Salvatore Sanfilippo)
* [NEW] Jemalloc updated to 4.0.3 (Salvatore Sanfilippo)
* [NEW] DEBUG RESTART/CRASH-AND-RECOVER [delay] (Salvatore Sanfilippo)
* [NEW] CLIENT REPLY command implemented: ON, OFF and SKIP modes.
(Salvatore Sanfilippo)
* [NEW] Crash report produced by Redis on crash improved. (Salvatore Sanfilippo)
* [NEW] Better memory test on crash. (Salvatore Sanfilippo)
詳細介紹請看:RELEASENOTES
下載頁面:3.2-rc1