-
Notifications
You must be signed in to change notification settings - Fork 486
can socket.io-redis can be configured with redis-cluster? #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, here is an example: socketio/socket.io#1815 |
The above example seems to be of using a node cluster with a single redis server instead of a cluster of redis servers. Unless I am mistaken and the process for both is mostly the same except providing some sort of special url! Please help! |
I am also trying to figure out how socket.io-redis can be connected to a redis cluster. |
@iojohnso An alternate could be to use socket.io-ioredis, available here: and provide prebuilt ioredis clients configured with redis clusters. |
We also need a working socket.io adapter using a redis cluster. Did anyone solve this problem yet? |
By providing an ioredis pub/sub client (implemented in #95), you should now be able to connect to a redis-cluster. Doc: https://github.com/luin/ioredis#cluster Closing this now 👼 |
No description provided.
The text was updated successfully, but these errors were encountered: