-
moparisthebest
I had an absolutely crazy thought regarding server design last night, wanted to throw it out there and see if anyone had thoughts
-
jonas’
oh no
-
Zash
Absolutely insane! That will never work!
-
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 ?
-
Zash
There's a XEP for that
-
Zash
https://xmpp.org/extensions/xep-0207.html
-
Zash
"Everything can be modeled as pubsub" is an old XMPP meme and/or communications protocol truism.
-
moparisthebest
LOL yes exactly that, except, for real, as an implementation detail of a server
-
Zash
Nobody is stopping you. There's a trade-off thing with genericness vs specialization I think applies.
-
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).
-
moparisthebest
nice, presumably at least one of those reasons is "m-link pre-dates redis" :D
-
Zash
Facebook did after all move to MQTT, which AIUI is some sort of low-level pubsub thing
-
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
-
Zash
I'm so sorry for your loss.
-
moparisthebest
I appreciate that
-
Zash
I for one do not wish to live in a world of proxies.
-
moparisthebest
if you think about it, isn't everything a proxy...
-
Zash
Neural networks?
-
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
-
Zash
Proxies applying transforms in complex networks.
-
Zash
Remember the Prosody tagline? "A study in simplicity." Sure sounds like "NO PROXIES!!!"" to me! 😉
-
moparisthebest
idk, messages go in one side and come out the other, sounds more like proxody to me
-
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?
-
nav
Technically, it would seem possible to add `node` attribute to `<query xmlns="jabber:iq:register"/>`, but the XML schema does not allow it.
-
nav
My scenario is one of more granular configuration of the interaction between two JIDs.
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/WJkNHUlwsnM5z7U9B4fz2GSeiAGKnW0FiodQ9Rpl/Screenshot_20220718_200651.png