-
Hello everyone, please someone help how I can create an xmpp server in php? Thank you
Hello everyone, please someone help how I can create an xmpp server in php? Thank you
-
Squeaky Latex Folf
Lol
-
Squeaky Latex Folf
That name
-
Hello everyone, please someone help how I can create an xmpp server in php? Thank you
no it's mistake
-
jonas’
Step 1: figure out if there's a library you can use Step 2: if not, read the standards (start with RFC 6120) Step 3: figure out how to do that in PHP Step 4: ??? Step 5: profit?
-
Squeaky Latex Folf
Also, is it true that XMPP S2S does multicasting in an inefficient way?
-
Squeaky Latex Folf
Aka, not multicasting at all but just unicasting
-
jonas’
there is in theory a thing which allows multicasting
-
jonas’
but in the vision of many smaller servers, it's rarely useful
-
jonas’
see https://xmpp.org/extensions/xep-0033.html
-
Squeaky Latex Folf
On PSYC they mentioned multicssting issues in XMPP
-
Squeaky Latex Folf
But I haven't really noticed any performance issues of XMPP, but I don't have over 100 contacts or rooms, so
-
Squeaky Latex Folf
And even then, is it noticeable?
-
Squeaky Latex Folf
Meanwhile, on Matrix, the performance issues are very clear
-
Squeaky Latex Folf
Joining the Matrix HQ room will make self-hosted servers explode
-
jonas’
so multicasting would only be benificial if server A has a lot of users which are in a room on server B
-
jonas’
then server B could be smart about it and tell server A a list of addresess to multicast the room traffic to
-
jonas’
but even in the largest rooms, I doubt that there are more than 20-40 entities from the same server.
-
jonas’
so the difference between copying a stanza 20-40 times (and with that, saving a lot of headaches around security considerations if the users have different privileges; I guess you'd have to shard by privileges, too, reducing the multicastability further) and actually doing multicast is rather slim
-
jonas’
especially because it only affects s2s links which are generally high-bandwidth and low-latency
-
jonas’
(and it doesn't make any difference for any permanant storage or so)
-
Squeaky Latex Folf
How does IRC do it?
-
Kev
It only really seems to matter on either very huge rooms, or very bad connections, and for the latter there’s FMUC.
-
Kev
IRC doesn’t do it in any standard way.
-
Kev
But, roughly speaking, IRC does something more akin to FMUC.
-
jonas’
isn't s2s for IRC mostly unspecified?
-
Kev
"IRC doesn’t do it in any standard way."
-
Kev
Although that doesn’t matter so much, because IRC doesn’t have open federation. It’s best not to think of IRC so much as federated like XMPP as being a clustered service, like a single XMPP service.
-
Squeaky Latex Folf
I know. I didn't mean if IRC was federated in that way. I was just wondering how IRC does multicasting.
-
Kev
I believe somewhat similar to how FMUC does it.
-
Squeaky Latex Folf
There's also DMUC2
-
Kev
I’m not aware of anyone ever implementing any of the DMUC proposals, though.
-
Kev
Whereas FMUC is implemented and deployed (albeit not, that I’m aware of, on the Internet).
-
Squeaky Latex Folf
Where then?
-
Kev
Places that have heavily constrained connections.
-
Squeaky Latex Folf
Any examples?
-
Kev
Not that I think I can talk about, sorry.
-
Squeaky Latex Folf
It's top secret?
-
Kev
Something like that.
-
Eniyocha
hi every one
-
Eniyocha
hi every one .. so i'm trying to build a chat app just like whatsapp.. i have my own ejabberd server .. i want that users sign up with there phone number and do all the work in backend(giving them jid and password)... Do i need an other server to assure the authentification? or just ejabberd server can do the work