Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.java
Redis是一開源(BSD協議)、內存數據結構存儲方式,能夠做爲數據庫、緩存和數據代理。它支持的數據類型有:string、hashes、lists、排序sets,支持範圍查詢、bitmaps、hyperloglogs、地理半徑查詢。Redis內置lua腳本,LRU驅動,事物和不一樣等級的磁盤持久化方式,而且經過Redis Sentinel和Redis Cluster提供高可靠性的自動分區
redis
一、下載安裝:數據庫
$ cd usr/local $ wget http://download.redis.io/releases/redis-3.0.7.tar.gz $ tar xzf redis-3.0.7.tar.gz $ cd redis-3.0.7 $ make
二、開啓數據結構
$ src/redis-server