A few weeks ago I replaced a XMPP chat architecture with socketio. It&#x27;s so much better for my needs (website with realtime chat).<p>There were 2 main reasons in the end:<p>- No way to log all messages sent to a database so that users could retrieve them on subsequent logins
- No way to edit&#x2F;delete messages, especially in multi-user chats.<p>Maybe these things are possible, but I couldn&#x27;t find how to do it. Now, with socket IO on nodejs, I have a &lt; 400 line chat server with DB integration that is much more suitable for my needs.<p>I guess XMPP&#x27;s focus was too narrow.