Heavy loads have been brought up several times, major social events where people flock to social media. Such as a terrorist bombing, submarine sinking, earthquake, nuclear meltdown, celebrity airplane crash, etc.

Low-budget hosting to compete with the tech giants is also a general concern for the project. Trying not to have a server that uses tons of expensive resources during some peak usage.

Load shedding and self-tuning within the code and for SysOps to have some idea if their Lemmy server is nearing overload thresholds.

See comments:

  • RoundSparrowOPM
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    10 second http timeout

    https://github.com/LemmyNet/lemmy/blob/f5209fffc1de527db7ea007d463c158b36fda515/src/lib.rs#L39

    I almost worry this default 10 second timeout is too low, and that is actually causing federation retries to flock between major peer servers. But this is the kind of self-tuning within the app that self-awareness of concurrency could adjust.

    Areas I know of that Lemmy does HTTP:

    1. Federation replication of content to peers
    2. When making a Post on Lemmy, a url posting fetches a preview of the content

    I’m not even sure where that value is used, any help on delving into this is appreciated.