this post was submitted on 20 Apr 2024
82 points (93.6% liked)

Asklemmy

43962 readers
1251 users here now

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_[email protected]~

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 19 points 7 months ago (1 children)

XMPP used to be pretty popular until google EEEd it afaik. Matrix is kind of an attempt to build on XMPPs "fall from grace" if you will. It's still very good from what I hear and some say the server is vastly more efficient but I only tried matrix and it works pretty well.

[โ€“] [email protected] 6 points 7 months ago (1 children)

Matrix's most feature complete server is synapse, which is written in python. Hence not very efficient and scalable.

It's mostly fine, but to really go big, one of the other server implementations will need to be used, but none of them achieve feature-parity with synapse as far as I know.

[โ€“] [email protected] 3 points 7 months ago (2 children)

I agree that matrix isnt infinitely scalable, which is a great thing imo.

The reason being that most people, especially users, are brainwashed into thinking that centralization is normal or good. It is neither.

Ideally every small group of like 10-100 people has a small server which is one out of millions at some point. Thats the idea of the fediverse.

My server federates with some 8000 servers at this point which is great and matrix.org has like 30% of all users afaik (which are over 100mil in total at this point)

And before I hear the always same argument: yes, it is hard to find peeps on matrix sometimes (it is a lot harder on whatsapp). Be the change you want to see and help with sites like joinmatrix.org

Have a good one.

[โ€“] [email protected] 3 points 7 months ago (1 children)

Do you self host? I read that the federation is where performance becomes a challenge?

Has resource usage gone up dramatically when you started federating?

[โ€“] [email protected] 4 points 7 months ago

Yes, I do. Federation is a joke in terms of resource usage. It really depends on your system and config of course but I host 4 fediverse services and a lot more stuff which doesnt even touch the 10% cpu utilization, doesnt touch 50% of my ram.

The information you find online is mostly outdated and people who dont self host dont have barely any real knowledge about the services.

I encourage you to try for yourself so you can see what works and what doesnt. Feel free to hit me up if you want to know anything about it.

[โ€“] [email protected] 1 points 7 months ago (1 children)

Agreed. The main advantage of something more efficient will be the ability to run instances on cheaper potato hardware.

[โ€“] [email protected] 3 points 7 months ago (1 children)

I run a multi user environment with 4 fedi services, 2 other public websites, many surrounding services (ie heimdall, nginx, portainer, grafana, etc) and a minecraft server on one machine, I dont touch 10% cpu utilization. I get hundreds of hits per minute (which not a lot compared to big websites, i know).

Iโ€˜m probably gonna buy the cheapest banana pi or whatever equivalent and try running all of it on that machine just to prove that most people have no idea what they are talking about.

Hosting any fedi service today is no problem if you have skills and dedication. Any 4 core old laptop should easily do the trick, provided you immediately delete windows.

[โ€“] [email protected] 1 points 7 months ago* (last edited 7 months ago)

I run a system with an i5-4670.

My situation is much like yours, except I wrote a script which will suspend services when transcodes or game servers cause the system to approach resource capacity, to prevent more users from joining games and deteriorating the experience for everyone.

I know for a fact people using pies or old laptops can't do what my system does, because I personally know people who have tried. They can't even get a basic media server going that performs anywhere near mine, in the menus.