I see the matrix is more popular than xmpp, but why?

2 points
*
Deleted by creator
permalink
report
reply
12 points
*

more popular

That’s not true at all. There are a ton of business applications for XMPP from IoT messaging, to Nintendo’s user presence, to being a 90% chance your favorite online game’s chat back-end. Behind Jitsi & Zoom & WhatsApp is an XMPP server. Matrix by design will never scale to these demands if history needs to live forever & all servers need to duplicate data.

More trendy would be a more appropriate phrase since Matrix wants to chase after proprietary Slack & Discord, where as XMPP is extensible & more generalized for all sorts of applications. Even with all of these proprietary applications, there are plenty of open communities hosted for MUCs & also blog/community thru Movim/Libervia & as an alternative back-end for UnifiedPush, etc. With the server resource usage being much lower, it’s cheaper & easier to maintain an XMPP server alongside another application in a VPS or even on a home network with dynamic DNS. If you are inclined, set one up & test it out.

permalink
report
reply
2 points

I have never used matrix but why would anyone design something that won’t scale by design?

I understand scalability not being a priority but designing something to be poorly scalable by design seems odd.

permalink
report
parent
reply
3 points

If you want the messaging to be resilient, this makes sense as a server can go down but anyone else connected has the whole history on their server.

But I think that is better suited for a forum where copying Slack/Discord’s lead & trying to preserve all history in a chat isn’t worth it as I see this sort of thing as better tasked for ephemeral communication. However, there is something communal & intuitive about chat apps that make folks interact pretty well so they can make decisions. This is a ‘good thing’ where forums don’t get the same engagement—but at the cost of you had to be there or worse, you need an account to see the discussion for that decision.

permalink
report
parent
reply
13 points

It’s faster and it’s not Synapse. I could serve hundreds of people on a single Pi while I would need to order a VPS with 4GB RAM to serve the same amount of people. I know there’s better server software out there, but it’s nowhere near Synapse. XMPP simply doesn’t care, clients and servers are well built and almost every client uses OMEMO and honestly I had a lot of decryption errors on Matrix and if you used something else than matrix.org you’d be screwed. It’s simply just better, because it’s faster and has a bigger ecosystem. The only thing that’s not cool about XMPP is that the federated userbase is kinda small. The biggest non-federated XMPP server is WhatsApp and that’s kinda sad. Also the protocol is nice, because most clients keep a socket open to listen for new messages and this is especially nice in the college WiFi environment some of my friends are in where a timer is set after bedtime which would wait until all sockets are closed which doesn’t include XMPP so messaging with my friends after bedtime is still possible.

permalink
report
reply
12 points

Just the other day I got downvoted for posting that it’s stupid that 8GB of RAM in laptops is not enough. Software like Synapse, trying to lift the load that it does in Python, is exactly the kind of thing I’m talking about.

the college WiFi environment some of my friends are in where a timer is set after bedtime which would wait until all sockets are closed which doesn’t include XMPP so messaging with my friends after bedtime is still possible.

The college tries to just shut off the WiFi at night??

permalink
report
parent
reply
1 point

Yep, it’s more like assisted living for autistic people though

permalink
report
parent
reply
10 points

On a related note is anybody able to tell me why Matrix hosting is so darn expensive? It seems you need to self host to have bridges?

permalink
report
reply
4 points

There are quite a few stories of communities shutting down their servers since the costs of duplicating all messages & attachments for all rooms for all DMs for all users on the server. Add to the mix that the implementation server in Python consumes a lot more resources, it’s not a big surprise. As such, everything centralizes around Matrix.org where they get an unreasonable amount of the network’s metadata.

permalink
report
parent
reply
1 point

Thanks that’s interesting

permalink
report
parent
reply
2 points
*

I know part of what makes it expensive is the propagation of messages in complex rooms (I.e. the official matrix room). I haven’t hosted matrix servers myself, but data.haus did which I was on until it sunsetted late last year due to this issue.

permalink
report
parent
reply
2 points

I think it’s just more difficult to set up than most self-hosted services?

But like, if you learn to do that yourself any old VPS will work.

You don’t have to self host to have bridges. Some instances provide them, I know pikaviestin.fi does, but they only accept Finnish citizens.

permalink
report
parent
reply
2 points

Im self hosting conduit and it was surprisingly easy to setup, and at this point just my mom and I are using it so ressource usage is OK. Otherwise I read that CPU can be tough in big chat rooms, and I assume a lot of things are copied on disk for federation which can also be costly. You can always de-federate to avoid these problems but at this point I don’t see much reason to self host if you’re only going to chat (signals does that just fine)

permalink
report
parent
reply
1 point

cant u just run a docker environment on a cheap hosting service or something ? (i am new to this)

permalink
report
parent
reply
1 point

Well sure but why would other hosts charge 50 a month? Seems a bit steep.

permalink
report
parent
reply
16 points

Hosted my own xmpp server back when you could talk to facebook messenger and google chat users via federation. But when they closed their walled garden there were nobody to talk to so i stopped it.

Now with matrix i have again a homeserver. Bridged to messenger, google what the new thing is called, slack, and a few others.

permalink
report
reply
4 points

Wait a minute… xmpp is federated? Like I can self host and then still message others?

permalink
report
parent
reply
5 points

Other xmpp servers that want to yes. But i have nobody that uses xmpp again.

permalink
report
parent
reply
4 points

I thought that was why matrix was made. Because it’s federated… What’s the got damn point of matrix?

permalink
report
parent
reply
1 point

Google Chat?

permalink
report
parent
reply

Asklemmy

!asklemmy@lemmy.ml

Create post

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it’s welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

Icon by @Double_A@discuss.tchncs.de

Community stats

  • 7.9K

    Monthly active users

  • 5.9K

    Posts

  • 319K

    Comments