this post was submitted on 07 Jul 2023
209 points (96.9% liked)

Selfhosted

40359 readers
411 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
 

v.0.0.6

v0.0.4 - Per requests and concerns: Defaults changed and options added to prevent overloading servers, hitting rate-limiting, filtering to top x communities, etc!

Thanks for your support!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

So how does this operate now?

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

Sorry, by comparing now to what; or was as that a superfluous "now," like "come on now?"

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

Well the last one would have just mass Overloaded instances. Just wondering how this one operates differently to prevent that.

[–] [email protected] 7 points 1 year ago (1 children)

The relevant change is this: https://github.com/jheidecker/lemmony/commit/9b0b7232a1a942615eb67a34f2526328a23fcdd5

It's not meaningful though. It allows one to optionally limit to the top-n communities by active-user count, but the default is still unlimited and the docs still do nothing to explain the abusive load that excessive subscription puts on instances that host communities.

[–] [email protected] -2 points 1 year ago* (last edited 1 year ago) (1 children)

My dude, I appreciate your spirit, but we're not going to focus on your irrational fear of abuse. I'll defend myself for being accused of any such thing, or for being irresponsible. This is intended to make things better, and there's no evidence it's doing anything other than that.

If you want to contribute, by all means, show us where there is a problem, other than in your imagination, and it will be seriously considered. Until then, your opinion is still valuable, but you are speaking with authority about something you know little of.

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

My dude... If you want to contribute, by all means, show us where there is a problem, other than in your imagination, and it will be seriously considered.

I had no idea we were doing condescending pet names, this is a fun game. My sweet summer child...

  • Federation ain't doing great.
  • Federated replication load scales with the number of instances multiplied by the number of communities they subscribe to.
  • Server counts are growing at ~10x per month.
  • The defaults of this script encourage single-user instances admins to bump their sub count ~70x from something like 100 communities to something more like 7000 communities.
  • Users of this script actually literally don't understand how federation works. They think they're proxying through to the upstream instance while they browse rather than getting firehosed with the entire lemmyverse by they're asleep.

It doesn't take a rocket surgeon to figure out that global federation worker queues are not in great shape, or that a default that encourages single-user instance owners who have no idea what they're doing to bump their sub count 70x isn't helping the situation. If you think this is in my head I can't help you. But I can help others understand that running this script with default settings is an awful and unnecessary idea.

[–] [email protected] -1 points 1 year ago* (last edited 1 year ago) (1 children)

Your argument does not gain validity by adding irrelevant verbosity:

Federation ain’t doing great.

The linked issue has nothing to do with this script or lemmony.

Federated replication load scales with the number of instances multiplied by the number of communities they subscribe to.

That's a hasty generalization that you just made up.

Server counts are growing at ~10x per month.

That's great! I hope they keep growing!

The defaults of this script encourage single-user instances admins to bump their sub count ~70x from something like 100 communities to something more like 7000 communities.

Nobody is encouraging anyone to do anything.

Users of this script actually literally don’t understand how federation works. They think they’re proxying through to the upstream instance while they browse rather than getting firehosed with the entire lemmyverse by they’re asleep.

That single user asked a question and got berated by a jerk.

It doesn’t take a rocket surgeon to figure out that global federation worker queues are not in great shape, or that a default that encourages single-user instance owners who have no idea what they’re doing to bump their sub count 70x isn’t helping the situation. If you think this is in my head I can’t help you. But I can help others understand that running this script with default settings is an awful and unnecessary idea.

You can help others understand what it is. That's a great thing to do. It would be nice if you could do that without being a dick.

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

Federated replication load scales with the number of instances multiplied by the number of communities they subscribe to.

That's a hasty generalization that you just made that up.

Sigh. No. No, that's actually how the computational complexity scales and it's not a difficult analysis to perform. Good luck to you though.

[–] [email protected] 0 points 1 year ago

Thanks! I'm sure you'll chime in when the lemmyverse falls over because of this irresponsible script.

[–] [email protected] 0 points 1 year ago

I think it depends on your instance. This version (same script, just updated) allows for more options IF your instance IS mass Overloaded, or you are scared it will be.