I have written a small site where the main focus is users can create chatrooms for themselves. I’ve used socket.io and wrote everything myself, trying to get something working.
The site is now out and it turns out my solutions are horribly unreliable. Users complain about messages swallowed, sudden disconnects without notification, some users are logged in 6 times in the same chat, etc etc.
Maybe someone has some example software, open source, that implements a multiroom chat with node.js and socket.io that is ready for production.
I also begin to think that forever start is maybe not the intended way to have a node.js server running.
node-simple-chat is a node.js / socket.io realtime chat.
Or check out Now.js, it also has a guide/example for a chat.