0

Hi I am trying to scale websockets like amazon web service does. I am using socketio and using ip aliasing on a big machine and multiple socketio servers are running on that machine. Another solution is to use redis and use pubsub mechanism.

Currently using:
-> Redis is running
-> Nodejs program that runs a socketio server and connects to DB(arangodb) and subscribed to redis channel. This program maintains a list of connected clients in a Map(key/value).

Problem: I want to maintain connections like aws websockets does, it creates a global list(Map of string key and value as Socket connection object) of clients connected. Then I can create a unique connection id.

Can socketcluster be used for this ? There is no proper documentation for it.
Abhay Rawat
  • 43
  • 1
  • 5

0 Answers0