this post was submitted on 12 Jun 2023
36 points (92.9% liked)

Selfhosted

51078 readers
1473 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?

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 years ago (1 children)

Sounds like you would prefer a peer2peer approach instead of federation? A few years ago, I wrote up why I don’t belief in p2p. In short: It’s too costly and too complex.

[–] [email protected] 0 points 2 years ago (1 children)

I think a amall hit of p2p can be useful. Maybe as an addition layer. I worked a lot with tendermint nodes (cryptocurrency) and i saw pretty effective solutions.

[–] [email protected] 1 points 2 years ago

I worked a lot with tendermint nodes (cryptocurrency)

If you worked with crypto, I think you would understand that ALL crypto is federated, not P2P. You need full nodes to communicate with in order to validate transactions. This is fundamentally federation, anyone can spin up their own full node and participate however they want.

Same is happening here with ActivityPub instead of block chain transactions.

[–] [email protected] 2 points 2 years ago

Based on the bit of research I have done, along with creating https://lemmyonline.com/

It seems you are correct. A small handful of servers contains roughly 95% of the user-base.

I think the intended way for this to work, certain communities can be hosted on their own servers. However, it appears most of the popular communities migrating away from reddit, all flocked to lemmy.world, which is likely contributing to it being overloaded.

[–] [email protected] 1 points 2 years ago (1 children)

I just spun up my own instance as well and it does feel a bit like I'm just pulling from the biggest instances and feeding my own without really being able to give much back.

[–] [email protected] 1 points 2 years ago

You're reducing load on the bigger instances by not using them directly, which is giving something back

[–] [email protected] 1 points 2 years ago (1 children)

every instance is sharing in the traffic to browse the fediverse. Not one service is responsible for serving content, you (the instance admin) are only serving for your members.

The downside of this is there is a huge amount of replicated data stored everywhere. Content of popular communities will be scraped by and stored on many many servers, filling up servers and increasing storage and bandwith bills for all those servers

[–] [email protected] 1 points 2 years ago

Please elaborate, how is "every instance is sharing in the traffic to browse the fediverse". I didn't find it nor in AP standards, nor in activitypub_federation lib docs. If there is some mechanisms of balancing inside the lemmy's code, would you mind pointing it for me?

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

I've suggested a routing protocol to the lemmy devs - to use federated instances to route all the messages to other federated instances. The idea was received with some interest, but it seems that people believe that there's still a ton of performance that can be squeezed out from the current architecture through optimisations.

[–] [email protected] 1 points 2 years ago (2 children)

Since Lemmy instance are not backed by commercial interest, but rather by nice volunteers and donors that have money and time to spare, they will be heavily affected by economic downturns (we still can see commercial interests still affect users negatively tho with reddit). Here are my thoughts on the matter:

  • as far as I understand the owner of the domain: https://lemmy.world even has to pay for this fancy domain name in the DNS system ... every month subscription service style
    • (and tbh I hate the Domain name system) why should I fund it with my own money?
    • if you hosted with an onion site over tor that expenditure would not exist, but how would users discover your site then? Let me know if you know something about this
  • in times of deflation (meaning money becomes worth more, spending some money on a self hosted lemmy instance becomes nonsensical)
  • tbh if I hosted a lemmy instance and the users of my instance posted high quality content in quantity I would use it to train my own LLM, that would at least create some economic incentive for me to host such a page ... but managing spam and bots will be HARD

That is why you should always back up your comments on your personal device, would be nice if lemmy had an automated way of doing this (I should look into this more)

[–] [email protected] 2 points 2 years ago (1 children)

The thing you’re overlooking is that for a lot of the people hosting small instances, this is a hobby.

Speaking for myself, the cost of a domain is basically nothing, and adding Lemmy to my hosting setup was zero - I already have more ram, cpu, and disk space than I’d ever need for this instance.

Financial incentives are not the only thing people care about, and until relatively recently weren’t the general default purpose of online social spaces.

[–] [email protected] 0 points 2 years ago (1 children)

Ok, sure. But what if your instance became popular and started costing you hundreds per month? Or in a couple years and you lose interest, do you keep paying for it? What happens to all of the content that users created on your instance?

[–] [email protected] 1 points 2 years ago

Well, I'm very explicitly not running it with the intent of it getting larger than maybe a couple dozen people I know who are interested. I'm not really interested in content moderation at any scale, let alone with random people I don't know from the internet. (My most recent job was dealing with content & abuse for a large cloud provider, and I have zero interest in picking up shitpost babysitting if it's avoidable.)

I'm otherwise going with the Mastodon Server Covenant as the basic guidelines: I've got a trusted friend I'm going to add as a 2nd admin, doing backups nightly, and at least a 90 day notice if/when I decide to stop hosting this.

I'd happily transfer the domain & data to anyone who wants to continue to admin it, or ask the community members what they want done.

I'll admit that makes WAY less sense if I wanted to run an instance with thousands of users, but that's very much not the goal.

load more comments (1 replies)
[–] [email protected] 0 points 2 years ago

you mean do something like blockchain ?

load more comments
view more: ‹ prev next ›