title: RabbitMQ vs Socket.io?
body: <p>I'm doing real time live web app development.</p>
  
  <p>Browser users should be able to communicate with eachother through a node.js server. One of the user writes a message and all other users will get it.</p>
  
  <p>I don't quite get how RabbitMQ works. But from quick reading it seems that it handles publication/subscription of messages.</p>
  
  <p>A user (in a browser) publishes something and subscribers (in other browsers) get that message. Isn't that what Socket.io is doing with websockets?</p>
  
  <p>Here are my questions:</p>
  
  <ol>
  <li>What are the advantages/disadvantages for each one of them?</li>
  <li>Can Socket.io replace RabbitMQ?</li>
  <li>Are there scenarios I need RabbitMQ for web apps where Socket.io doesn't suffice?</li>
  </ol>