20 ms·
XMPP is not technically well-suited to mobile devices. It was designed with a base-level assumption that any client will maintain a constant TCP connection in o
by dmdeller 13y ago
XMPP is not technically well-suited to mobile devices. It was designed with a base-level assumption that any client will maintain a constant TCP connection in order to receive messages. This doesn't fit well with mobile devices, which spend most of their time 'off' and try to have as little software running concurrently as possible in order to save battery life. Some mobile XMPP clients have come up with various clever workarounds, but all of them are hacks. For example, by keeping the 'real' XMPP connection open indefinitely on a remote, third-party server, and then communicating with the mobile app using a custom proprietary protocol that doesn't have this assumption.
A new protocol is needed. In fact, just the other day there was a story on HN where the original creator of XMPP said the same thing: https://news.ycombinator.com/item?id=6849755 https://news.ycombinator.com/item?id=6849755 The merits of his proposed solution are another matter, though.
- chrisballinger 13y agoWe are working on a federated, protocol agnostic push server design here: https://github.com/ChatSecure/ChatSecure-Push-Server/tree/master/docs/v3 https://github.com/ChatSecure/ChatSecure-Push-Server/tree/ma...
- kazagistar 13y agoXMPP never got to the point where it was good enough at video, audio, or even large chatrooms, and so other chat clients took the initiative.
- rakoo 13y agoSo, BOSH [0], aka XMPP-over-HTTP ? Originally intended to allow XMPP in the browser, it turned out [1] to be solving a lot of other problems, including the frequent disconnections of a smartphone. [0] http://xmpp.org/extensions/xep-0206.html http://xmpp.org/extensions/xep-0206.html [1] https://metajack.wordpress.com/2008/07/02/xmpp-is-better-with-bosh/ https://metajack.wordpress.com/2008/07/02/xmpp-is-better-wit...