Does AWS robust cache support Pub / Sub in Redis Cluster?

A look at the AWS elastic cache documentation. I see that they support Redis Cluster and talk about key / value data and about Redis actions in general. However, for me it is not clear if this will support pub / sub Redis replication on different servers.

We create a chat server on node-xmpp. We will have many application servers to handle chat connections, and we rely on Redis pub / sub to handle communication between chat streams. We require that, regardless of the actual instance of Redis that each chat server interacts with, they can share the same pub / sub channel.

In AWS Elastic Cache White Paper (p. 7), they indicate the use of Redis if you want pub / sub. I understand from this that AWS Elastic Cache will actually support pub / sub-scalability, but I'm not sure yet.

+4
source share
1 answer

I tried this and yes, AWS manages the pubs / subchannels among the Redis instances in the cluster. We have currently deployed three chat platforms, using node-xmpp and redis-cluster on AWS Elastic Cache to manage real-time chat capabilities, and it works neatly.

+5
source

Source: https://habr.com/ru/post/1609651/


All Articles