首页 > 技术文章 > Redis消息队列总结

itfeng813 2021-03-09 10:01 原文

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

推荐阅读