I know their are a lot of questions and answers about this issue on the net but I can't get it to work.
I have a server written in node.js and listening to connections with socket.io
Now, The sockets can exchange messages between them, like a chat and I'm broadcasting the incoming messages to all other sockets on the server.
I want to run my node server on 3 different servers, each one of them have different IP, Lets call them: SERVER1, SERVER2 and SERVER3. Here comes my confusion, if i'm sending a message from a socket which connected to SERVER1, How the sockets that connected to SERVER2 and SERVER3 will see this message?
I heard about RedisStore, RabbitMQ and other stuff but i can't find a good article/post/book that can explain me how to do it right...
Can someone help me please?