jdev - 2022-07-18


  1. moparisthebest

    I had an absolutely crazy thought regarding server design last night, wanted to throw it out there and see if anyone had thoughts

  2. jonas’

    oh no

  3. Zash

    Absolutely insane! That will never work!

  4. moparisthebest

    the thought was that XMPP can basically just be modelled as pubsub, so if you wrote a thin XMPP translation layer around a proven pubsub implementation that already had clustering built-in like redis, well then you have a full XMPP server with clustering for free ?

  5. Zash

    There's a XEP for that

  6. Zash

    https://xmpp.org/extensions/xep-0207.html

  7. Zash

    "Everything can be modeled as pubsub" is an old XMPP meme and/or communications protocol truism.

  8. moparisthebest

    LOL yes exactly that, except, for real, as an implementation detail of a server

  9. Zash

    Nobody is stopping you. There's a trade-off thing with genericness vs specialization I think applies.

  10. Kev

    Large amounts of M-Link are just XMPP protocol on top of a core pubsub layer (but it's our own pubsub layer, for reasons).

  11. moparisthebest

    nice, presumably at least one of those reasons is "m-link pre-dates redis" :D

  12. Zash

    Facebook did after all move to MQTT, which AIUI is some sort of low-level pubsub thing

  13. moparisthebest

    it's highly possible at this point that my brain is just broken and I can now only think of solutions in terms of proxies, in this case, xmpp-to-redis-proxy

  14. Zash

    I'm so sorry for your loss.

  15. moparisthebest

    I appreciate that

  16. Zash

    I for one do not wish to live in a world of proxies.

  17. moparisthebest

    if you think about it, isn't everything a proxy...

  18. Zash

    Neural networks?

  19. moparisthebest

    your brain can't directly communicate to another brain, so instead it proxies said communication through your fingers, through a keyboard, through XMPP, through a screen, through eyes, and finally back to the brain

  20. Zash

    Proxies applying transforms in complex networks.

  21. Zash

    Remember the Prosody tagline? "A study in simplicity." Sure sounds like "NO PROXIES!!!"" to me! 😉

  22. moparisthebest

    idk, messages go in one side and come out the other, sounds more like proxody to me

  23. nav

    Does anyone here know if not allowing XEP-0077 (https://xmpp.org/extensions/xep-0077.html#schemas) registration against a node was a deliberate decision, and if so, why?

  24. nav

    Technically, it would seem possible to add `node` attribute to `<query xmlns="jabber:iq:register"/>`, but the XML schema does not allow it.

  25. nav

    My scenario is one of more granular configuration of the interaction between two JIDs.

  26. nav

    https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/WJkNHUlwsnM5z7U9B4fz2GSeiAGKnW0FiodQ9Rpl/Screenshot_20220718_200651.png