# 用户搜索历史列表
user:<用户id>:search_history zset [{value:关键词, score:搜索时间}, {}, {}]
# 用户阅读历史列表
user:<用户id>:read_history zset [{value:文章id, score:阅读时间}, {}, {}]
# 所有用户的作品数量
# user:<用户id>:art_count string 13 incr/decr
user:all:art_count zset [{value: 用户id, score:作品数量}, {}, ]
# 所有文章的点赞数量
article:all:like_count zset [{value: 文章id, score: 点赞数}, {}, {}]
# zincrby 对分数+n zscore 获取分数 zrevrange 倒序排列
原文:https://www.cnblogs.com/oklizz/p/11420241.html