Redis 多个订阅者 [英] Redis Multiple Subscribers

查看:63
本文介绍了Redis 多个订阅者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多个订阅者订阅了同一个 Redis 频道.Redis 是否保证订阅者订阅频道后,所有订阅者都能获得推送到频道中的所有消息?

I've have multiple subscribers who are subscribed to the same Redis channel. Does Redis guarantee that all subscribers get all the messages that are pushed into the channel after the subscribers subscribes for the channel ?

推荐答案

来自 redis 文档

From redis docs

其他客户端发送到这些频道的消息将由Redis 给所有订阅的客户端.

Messages sent by other clients to these channels will be pushed by Redis to all the subscribed clients.

我想你的问题是肯定的.

I guess thats a Yes to your question.

这篇关于Redis 多个订阅者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆