Pub/Sub in Redis cluster

44 views
Skip to first unread message

rorofei

unread,
Apr 22, 2018, 10:54:03 AM4/22/18
to Redis DB
Hi,
does pubSub support redis cluster,how redis cluster manage key space(does calculate hash slot) in redis pub/sub?

thanks

Marc Gravell

unread,
Apr 22, 2018, 12:44:13 PM4/22/18
to redi...@googlegroups.com
My understanding as a user is:

- yes pub/sub works
- regular "publish" events are replicated to all nodes, so it doesn't matter where you subscribe
- keyspace notification events are not replicated, and are only raised on the server making the change

Happy to be corrected on this.

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages