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

Asklemmy

43962 readers
1456 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_A@discuss.tchncs.de~

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
[โ€“] MentalEdge@sopuli.xyz 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.

[โ€“] haui_lemmy@lemmy.giftedmc.com 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.

[โ€“] bitwolf@lemmy.one 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?

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.

[โ€“] MentalEdge@sopuli.xyz 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.

[โ€“] haui_lemmy@lemmy.giftedmc.com 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.

[โ€“] MentalEdge@sopuli.xyz 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.