jdev - 2024-08-17


  1. debacle

    Are there use cases or situations in which BOSH is better than websockets?

  2. Guus

    dealing with legacy software that doesn't support both, maybe (unsure if that actually exists much in the wild anymore)

  3. Menel

    Wasn't bosh kinder to reconnects?

  4. Guus

    Does XEP-0045 describe how a service should react when an entity triest to interact with a room or an occupant that doesn't exist?

  5. Guus

    (outside of room creation, and service discovery)

  6. Guus

    oh, section 17 (business rules) has some specifications on that.

  7. singpolyma

    > Are there use cases or situations in which BOSH is better than websockets? Proxies that don't support websocket maybe, though with TLS everywhere this is barely possible anymore. Switching pages/tabs and keeping the connection, but these days you can also do that with a shared worker.

  8. MattJ

    There is an unsolved edge case - resumption for ANONYMOUS sessions. BOSH can resume (via sid/rid) but websockets does not have that, and XEP-0198 doesn't work with ANONYMOUS

  9. Schimon

    > If you put pubsub on a MUC it's not PEP by definition, but doing similar things makes a lot of sense. Kev. What do you mean by "similar things"?

  10. Schimon

    Good evening, ladies and gentlemen. I was thinking of making use of XEP-0223 (Persistent Storage of Private Data via PubSub) to make use of a Jabber ID as a mean to synchronize browser tabs, cookies and other session data.

  11. Schimon

    What would be an appropriate fashion to store such information?

  12. Schimon

    What would be an appropriate fashion to store such information? Should Atom Over XMPP be utilized (XEP-0277 and XEP-0472) or something more simple (e.g. TOML, CSV or INI)

  13. singpolyma

    You can use any format that fits your data 🙂

  14. singpolyma

    Try it and see how it goes

  15. moparisthebest

    > There is an unsolved edge case - resumption for ANONYMOUS sessions. BOSH can resume (via sid/rid) but websockets does not have that, and XEP-0198 doesn't work with ANONYMOUS The successor to websockets based on quic, https://w3c.github.io/webtransport/ , supports resumption and hopping across networks like quic, and XMPP already works over it (it's a stream like TLS/quic, not frames like websocket)

  16. singpolyma

    I wouldn't call it a successor since it's not the same kind of protocol. It's a better fit for xmpp than websocket was for sure though