Redis消息队列总结

Redis实现消息队列的四种方案:

  • 基于List的 LPUSH+BRPOP 的实现
  • PUB/SUB,订阅/发布模式
  • 基于Sorted-Set的实现
  • 基于Stream类型的实现

四种方案优缺点:https://www.cnblogs.com/-wenli/p/12777703.html

具体操作实现:https://www.cnblogs.com/qlqwjy/p/9763754.html

posted on 2021-03-09 10:01  IT-风  阅读(62)  评论(0编辑  收藏  举报

导航