title: Socket.io multiroom chat examples, ready for production
body: <p>I have written a small site where the main focus is users can create chatrooms for themselves. I've used <a href="http://socket.io/" rel="nofollow"><code>socket.io</code></a> and wrote everything myself, trying to get something working.</p>
  
  <p>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.</p>
  
  <p>Maybe someone has some example software, open source, that implements a multiroom chat with <code>node.js</code> and <code>socket.io</code> that is ready for production.</p>
  
  <p>I also begin to think that <code>forever start</code> is maybe not the intended way to have a <code>node.js</code> server running.</p>