128
submitted 1 year ago* (last edited 1 year ago) by Averrin@lemmy.world to c/selfhosted@lemmy.world

Correct me if I'm wrong. I read ActivityPub standards and dug a little into lemmy sources to understand how federation works. And I'm a bit disappointed. Every server just has a cache and the ability to fetch something from another known server. So if you start your own instance, there is no profit for the whole network until you have a significant piece of auditory (e.g. private instances or servers with no users). Are there any "balancers" to utilize these empty instances? Should we promote (or create in the first place) a way how to passively help lemmy with such fast growth?

you are viewing a single comment's thread
view the rest of the comments

And all major chat rooms are hosted there too. That's not how matrix works. Rooms are fully replicated to all participating servers, no single server acts as a point of failure. It also has a resolution system for divergent states; no server has authority over any other. You can add local aliases for any room you're in on your local server without permission from room admins. (... Actually I'd have to doublecheck that. It might be one of the permissions.) You don't even need an alias, the room ID (eg. !BZVTUuEiNmRcbFeLeI:matrix.org) and a server that's currently participating in the room (ie. has that room ID) is enough to join. That's really what aliases are; mapping a name to a room ID on a particular server that is known to be participating. Room IDs include a server name as an anti-collision mechanism, it has no other significance.

It feels like 95% or more are on matrix.org instance. I think it's a bit lower than that. midov is actually pretty big. So's T-AC. (And then there's joe's room directory, which I think is bigger than morg's.) But it's well over 50%, which is disgustingly high. morg should close registrations, and purge dormant accounts/aliases.

a weekly cap for new registrations as an option Extremely good idea.

like MMOs. Funny you mention that, I had a laugh on Witch Weapon when I discovered that my server was frequently getting 10-100x more points in ranking events than other servers (and I was frequently placing top 50 without any of the busted characters). I'd simply chosen the recommended server, which I had assumed was the smallest at the time. Turns out it was just a static value so it had like 50x the population of the other two.

I still miss that game.

[-] halictuz@lemmy.one 2 points 1 year ago

About Matrix and federation/rooms etc.

I know. My point was more like, what if matrix.org goes down tomorrow? My understanding is, nobody can login into their matrix.org accounts, right? But rooms and their admins are tied to that matrix.org account? So even if rooms will still be there because of alias/replicated to other federated instances. Who is gonna maintain it and moderate it then? My guess is, bigger rooms have set admins from different instances because of that?

I mean, I am not so much into matrix, I am more of a XMPP person. I hosted a public matrix synapse. And tbh, it was a real PITA compared to xmpp hosting. But ok, XMPP has other issues, too. So there is that.

[-] taladar@sh.itjust.works 2 points 1 year ago

Trying to host my own Synapse server once for my own use and seeing how it was chewing through every bit of resources on my server while providing an unusable slow experience has pretty much ruined Matrix as a whole for me as well as contributed significantly to my dislike for Python.

[-] sam@lemmy.ca 0 points 1 year ago

How long ago was this? Its in a much better state now.

[-] taladar@sh.itjust.works 1 points 1 year ago

A few years ago (3-4 maybe). It wasn't just a bit slow either, more like the server using the full 16 gigabytes of RAM and constantly at 100% CPU and channels not even being usable to read them 20 minutes after joining.

[-] sam@lemmy.ca 1 points 1 year ago

That was my experience as well, and I completely wrote it off. After having gone back to it, and after watching the matrix 2.0 preview on youtube, things are a lot better than they were, and looking a lot better in the future.

[-] taladar@sh.itjust.works 2 points 1 year ago

Maybe I will give it another try one of these days when I have some time.

this post was submitted on 12 Jun 2023
128 points (89.5% liked)

Selfhosted

39683 readers
767 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS