一、官網概述html
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.git
Redis 是一個開源(BSD許可)的,內存中的數據結構存儲系統,它能夠用做數據庫、緩存和消息中間件。 它支持多種類型的數據結構,如 字符串(strings), 散列(hashes), 列表(lists), 集合(sets), 有序集合(sorted sets) 與範圍查詢, bitmaps, hyperloglogs 和 地理空間(geospatial) 索引半徑查詢。 Redis 內置了 複製(replication),LUA腳本(Lua scripting), LRU驅動事件(LRU eviction),事務(transactions) 和不一樣級別的 磁盤持久化(persistence), 並經過 Redis哨兵(Sentinel)和自動 分區(Cluster)提供高可用性(high availability)。github
redis與memcached的區別redis
二、redis文件說明數據庫
三、運行windows
三、客戶端鏈接緩存
四、其餘說明ide
Redis中的數據庫是經過數字來進行命名的,缺省狀況下打開的數據庫爲0。若是程序在運行過程當中打算切換數據庫,可使用Redis的select命令來打開其餘數據庫,如select 1,若是此後還想再切換回缺省數據庫,只需執行select 0便可。
五、參考資料
http://www.cnblogs.com/huangxincheng/category/755864.html
http://www.cnblogs.com/caokai520/p/4409712.html
http://www.cnblogs.com/yangecnu/p/Introduct-Redis-in-DotNET.html