Skip to content
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

Scale chat with Redis pub, sub #36

Open
heron2014 opened this issue Aug 4, 2016 · 2 comments
Open

Scale chat with Redis pub, sub #36

heron2014 opened this issue Aug 4, 2016 · 2 comments

Comments

@heron2014
Copy link
Owner

Scalable Publish/Subscribe ("pattern") means you can scale out (add more node.js/socket.io servers when you need to serve more clients)

@heron2014
Copy link
Owner Author

@heron2014 heron2014 mentioned this issue Aug 4, 2016
@heron2014
Copy link
Owner Author

Very useful package https://www.npmjs.com/package/socket.io-redis , you dont need to use sub.subsribe or pub.publish, it does it for you by defining adapter and passing pubClient and subClient - just like in docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant