Skip to content

Commit c6834dc

Browse files
authored
Update README.md
1 parent 4b88670 commit c6834dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ Redis是Remote Dictionary Server(远程数据服务)的缩写
33
由意大利人 antirez(Salvatore Sanfilippo) 开发的一款 内存高速缓存数据库
44
该软件使用C语言编写,它的数据模型为 key-value
55
它支持丰富的数据结构,比如 String(字符串)list(双向链表) hash(哈希) set(集合) sorted set(有序集合)。数据可持久化(定时写入磁盘中),保证了数据安全。
6-
##使用场景
6+
#使用场景
77
[Sort Set]排行榜应用,取top n操作,例如sina微博热门话题
88
[List]获得最新N个数据 或 某个分类的最新数据
99
[string]计数器应用 incr
1010
[Set]sns(social network site)获得共同好友
1111
[Set]防攻击系统(ip判断),黑白名单等等
12-
##对比memcache
12+
#对比memcache
1313
①Redis不仅仅支持简单的k/v类型的数据,同时还提供list,set,zset,hash等数据结构的存储。
1414
②Redis支持master-slave(主—从)模式应用。
1515
③Redis支持数据的持久化,可以将内存中的数据保持在磁盘中,重启的时候可以再次加载进行使用。

0 commit comments

Comments
 (0)