147
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
[-] library_patron 42 points 1 year ago* (last edited 1 year ago)

Every server just has a cache … there is no profit for the whole network …

I wouldn't say that caching is no profit. Yesterday there were several times when lemmy.ml was struggling or effectively down for some people, but despite complaints over there I could read lemmy.ml communities just fine through my instance. Caching meant that I was isolated from the service interruption, and the lemmy.ml server was isolated from my contribution to its load.

[-] falconfetus8@lemmy.world 5 points 1 year ago

Well, lemmy.ml still needs to serve you the content the first time in order to cache it. And since you're the only person in your instance, you're the only person benefiting from that cache. So you're still exerting at least the same load as if you were browsing lemmy.ml directly.

[-] Saik0Shinigami@lemmy.saik0.com 18 points 1 year ago* (last edited 1 year ago)

So you’re still exerting at least the same load as if you were browsing lemmy.ml directly.

Not quite accurate... although probably reasonably close.

The activitypub transaction is just a small amount of text. The formatting and display of the page and tracking of user sessions and other transactional data that you would need to handle for the user itself...

Ultimately server->server transactions are much simpler and easier than server->user transactions.

Edit: one user instances are not helping much... But the moment you get 2 or more eyeballs on the same content on a remote instance... it starts to matter. Start a local instance with 10-100 users? You're making a large dent in traffic on the origin (in relation to the content origin) server's usage.

[-] raphael@lemmy.mira.pm 10 points 1 year ago

But only once, even if you open the content several times. And without transferring all the Web UI with it. And on the sending servers' own terms related to when to send or if at all. On the other hand the server has to send any changes in a subscribed topic, regardless of you being interested in it.

Overall I still would still think it is a benefit to run your own instance.

[-] gts@lemmy.world 4 points 1 year ago

this is an interesting concept - is Lemmy.blahaj.zone your personal instance, closed to registration from the public? I can totally see the draw in doing this and self hosting my own, then I don’t need to worry about performance of someone else’s instances

[-] library_patron 4 points 1 year ago

I wish, but lemmy.blahaj.zone is not mine, just one of the larger medium-sized instances that have been around for a while. But some people do do as you describe.

[-] Averrin@lemmy.world 1 points 1 year ago

As I said, there is no profit from empty instances. Of course, the federation itself is good and fail-proof in this way. But if nobody asks for this cache, it's just an Internet Archive of a sort.

[-] zergling_man@lemmy.perthchat.org 12 points 1 year ago

It only takes one user for an instance to not be empty. Every bit of decentralisation adds resilience to the whole. But more decentralisation adds more resilience, so let's try to spread out the communities and users.

[-] library_patron 2 points 1 year ago

I see—you're talking about instances with no users? Yes, those don't help much. Maybe edit the typo "a significant piece of auditory" in the original post, since I guessed that you were talking about instances with users but no communities.

[-] Averrin@lemmy.world 1 points 1 year ago

Yeah, it's nothing about communities. Technically speaking, only the amount of direct HTTP requests matters. If nobody opens your domain, your instance is just spending your money for nothing.

Instance A blocks instance B, which also blocks back. I create a single-userr instance and subscribe to communities on both.

this post was submitted on 12 Jun 2023
147 points (100.0% liked)

Selfhosted

40219 readers
869 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