I am using a web socket library on server for establishing socket connection.
https://github.com/websockets/ws
As i am going to have a node server to host this socket server, i might need to have multiple servers inside a cluster. So, for that i want to persist the socket objects into a data store. Thus, in that way those objects are shareable across the server processes.