Re: Message sending performance XEP-0124
Florian Schmaus <[email protected]> Sat, 2 Jul 2016 11:48:35 +0200
| Newsgroups | gmane.network.jabber.devel |
|---|---|
| Message-ID | <[email protected]> |
On 01.07.2016 16:22, Marcel Waldvogel wrote: > For reliability requirements over wireless connections: don't use BOSH; > do use Stream Management (XEP-0198) Exactly. And if you want the BOSH advantage over XMPP's TCP binding, i.e., using standard HTTP(S) ports, then use XMPP's WebSocket binding (RFC 7395) + Stream Management. Some background to this thread: https://community.igniterealtime.org/message/258562#comment-258562 I have not much experience with BOSH as I don't/seldom use it. I've merged Smack's BOSH branch when I took over Smack and fixed a few things, but the code should be considered unmaintained. I wonder if BOSH is suitable for mobile environments. In my experience those environments require being able to check the underlying TCP connection for liveness, which is not trivial when using BOSH I imagine. Using the BOSH Technique in mobile environments could cause serious UX issues if the first connection hangs in the long-polling state because the TCP connection broke down silently. WebSocket doesn't have this issues, and provides the same feature set as BOSH when used with Stream Management. I think it is the future and that there is no real reason, besides implementation availability, to use BOSH any more. Sadly there is no support for XMPP over WebSocket in Smack (yet). - Florian _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
signature.asc
(application/pgp-signature, 603 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXd433XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5Nzc1MDU5RjNBMjFEQ0UxNkJFNEZCQUUy MjM5QTdFOEY1ODUyMDUyAAoJECI5p+j1hSBSKfEH/0azqMYbHWnF2c+bfyBpsP7/ ysrzF4rNUDG3ARdK4q+PT2DW1jZqkSg9j4R65Z3M+akUzw6bhmI9C/mn9CFG9Bqa 5zQP7SkOqzPTnOy3R357hDGtle2VZEPcGdFZmMumt0oWHrrPVmqSk5o2FcdabnSB YgjmcU4yZKlLxXSDABuvsyUIWMMzssq7NOHWsVSe6vu5t4CebNQPXdxMU5uF97Zm cDeLiIR2QoyPMic7PHgUUphWaUN8dmQdTFF19nxIuc2P/FtiT99burDXjjoA8+aZ k+PsLp7a8TuS7kpDIFpb3UZ27fX3cr2hqSClFU35El47zFLoYHSDBTkbzeWhDeE= =K6gw -----END PGP SIGNATURE-----