title: MQTT vs. XMPP Which Should I Choose?
body: <p><strong>Overview</strong></p>
  
  <p>I am sending messages back and forth between a client (Android phone) and a Server (Windows Server).  Using a persistent connection over TCP, which protocol would be the best solution.  I am looking at performance, scalability, size of messages, and battery life.  The messages must arrive at the destination in order and can not be duplicates.</p>
  
  <p><strong><a href="http://mqtt.org/">MQTT</a></strong></p>
  
  <p>This seems like the better solution, but there seems to be little examples of large implementation with lots of users.  I am not sure if I can integrate this into the windows server, or if it would have to be another application or server running.  Finally there seems to be a lack of information on it in general.</p>
  
  <p><strong><a href="http://xmpp.org/">XMPP</a></strong></p>
  
  <p>This seems to have lots of implementation, examples, and even a book : ).  However the main purpose seems to be for instant messaging clients and things like Google talk.  Will this be an optimal solution to messaging between server and client.  I know currently XMPP is mostly used in client to server to client architectures.</p>
  
  <p>Please correct me if I am wrong and thanks in advance for any guidance.  </p>