66
submitted 1 year ago by IIII@lemmy.world to c/selfhosted@lemmy.world

Hi all, I tried hosting my own lemmy instance to take some of the load off lemmy.world, but a lot of the posts do not get synchronised to my instance. When they do, they never got more than a couple upvotes.

I get a lot of warnings in the logs that I've got an incoming connection not on my allowed hosts, of which I've put "lemmy.world" and "lemmy.ml"

Does self hosting like this actually reduce the load on lemmy.world and the fediverse? And how can I fix the issue I'm having?

you are viewing a single comment's thread
view the rest of the comments
[-] w0odl@lemmy.radio 22 points 1 year ago* (last edited 1 year ago)

"Allowed Hosts" is white listing btw. You should leave it blank if you want more than just lemmy.world and lemmy.ml

And I wouldn't say it reduces the load on those sites. It would kind of add to them in a way if you post from your instance or sub from your instance solo. If it's just you on your instance, it's barely a blip. May save them some photo hosting if you post.

SOME of the out of sync upvotes/comments are fixed in 0.18.1

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

It would kind of add to them in a way if you post from your instance or sub from your instance solo

Is this actually true? As far as I understand it, by far the biggest overhead is users browsing. The fewer users you have actually hitting the frontend, the better.

[-] PriorProject@lemmy.world 7 points 1 year ago

The devs were saying that browse load was the major issue a few weeks ago, but more instances have been stood up since then and it does seem like replication is getting a bit creaky. I don't think replication load is flatlining the CPUs of big instances, but it does seem to be reaching some kind of scaling limit that is non-trivial to tune around.

The optimal is definitely the goldilocks zone of ~100 to ~1000 active users. Whether single-user instances are a net win or a net loss is still pretty unclear to me, and if they become a net-loss it will manifest as federation issues of the sort described here, but it's pretty hard to tell whether those issues are misconfigs on the tiny instances, misconfigs on certain big instances, temporary scaling issues that will be quickly fixed, or hard problems that will limit the size of the network for a while.

[-] w0odl@lemmy.radio 3 points 1 year ago* (last edited 1 year ago)

If the bigger instance has to push/pull in data from you personal communities because they sub to it, then yes. 1 person not using your front end isn’t going to change much.

this post was submitted on 04 Jul 2023
66 points (97.1% liked)

Selfhosted

39677 readers
998 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