Permanently Deleted

  • mushroomman_toad@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    8
    ·
    1 month ago

    I think Lemmy has some in-memory data structures that limit the backend to a single node, too. Also postgres is great, but Lemmy really fucked up their database performance somehow.

    But yeah large python codebases turn into spaghetti really quickly.

    • orca@orcas.enjoying.yachts
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      but Lemmy really fucked up their database performance somehow.

      Can confirm. I spent like 4 hours one day configuring auto vacuum and other shit on my Lemmy DB because it was bloating to hell and eating up resources. Runs much smoother now but it was a massive PITA to get there.

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago

      large python codebases turn into spaghetti really quickly

      I don’t think the language is the problem here. Seeing as Python isn’t somehow severely limited in its expressiveness or organization. Static typing isn’t a cure against spaghetti.

      However, code in that particular file doesn’t inspire any faith in the authors’ organizing skill.