一、官网概述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