this post was submitted on 12 Jun 2023
140 points (91.2% liked)

Selfhosted

40390 readers
532 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 2 years ago
MODERATORS
 

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
[–] [email protected] 41 points 1 year ago* (last edited 1 year ago) (3 children)

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 4 points 1 year ago (2 children)

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.

[–] [email protected] 19 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.

[–] [email protected] 11 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 4 points 1 year ago (1 children)

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

[–] [email protected] 3 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.