Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does AWS Elastic Cache support Pub/Sub on Redis Cluster?

Looking the documentation of AWS Elastic Cache I can see they support Redis Cluster and talk about key/value data and Redis operations in general. However is not clear for me if this will support replication of Redis' pub/sub along the different servers.

We are building a chat server on node-xmpp. We will have many application servers for handling chat connections and we are relying on Redis pub/sub for handling the communication between chat threads. We require that regardless the actual Redis instance each chat server is communicating to, they can share the same pub/sub channel.

At AWS Elastic cache white paper (page 7) they indicate to use Redis if you want pub/sub. I understand from this that AWS Elastic Cache will actual support pub/sub scalability but I'm not convinced yet.

like image 703
Javierfdr Avatar asked Sep 30 '15 14:09

Javierfdr


1 Answers

I have tried it and yes, AWS manages pub/sub channels among Redis instances within a cluster. We have deployed now three chat platforms using node-xmpp and redis-cluster on AWS Elastic Cache for managing the real-time capabilities of the chat, and it works neatly.

like image 90
Javierfdr Avatar answered Sep 20 '22 03:09

Javierfdr