背景 Redis是一个基于键值对(Key-Value)的数据结构,可以用来作为数据库、缓存和消息队列。 常用数据结构 string 字符串list 列表hash 哈希set 集合zset 有序集合bitmap 位图