Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Socket.io multiroom chat examples, ready for production

Socket.io multiroom chat examples, ready for production

Problem

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.

Problem courtesy of: Lanbo

Solution

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.

Solution courtesy of: Patrick

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Socket.io multiroom chat examples, ready for production

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×