Redis的五种数据类型
官方的几篇很好的文章:
https://redis.io/topics/data-types
https://redis.io/topics/data-types-intro
- https://redis.io/topics/pubsub
Bloom Filter:
- Encode a lot of data in little space, or create a Redis backed Bloom Filter using GETBIT and SETBIT.
- Bloom Filter布隆过滤器,https://blog.csdn.net/jiaomeng/article/details/1495500。
- 区块链技术中也提到此数据结构,https://blog.csdn.net/canhui_wang/article/details/54981525
STRING
value,
value最大:512M。
https://blog.csdn.net/lu_wei_wei/article/details/50906101
LIST
row-value,value可重。
SET
row-value,value不可重。
ZSET
row-value-score(可正负整数)
HASH
row-key-value
最大Key个数:2^32 = 2亿
https://segmentfault.com/q/1010000011717515