It seems like most times I go to my .world account, I get the bad gateway error. Is there a fix for this?

  • Rooki@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    11 months ago

    Its a lemmy bug with the backend. The Database breaks down because of some queries and is stuck until a restart.

    • madcaesar@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      11 months ago

      I know scaling DBs can be tricky, but I also know there are bootstrap solutions that go pretty high up before needing custom work.

      I don’t know enough about the lemmy infrastructure, but did they build some custom thing scratch framework or did they start with something stable and tested?

      • Rooki@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        The thing is, it is not the amount available databases. Rather 1 query takes super long and it blocks everything

      • 31337@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Lemmy uses the Diesel ORM. Lemmy uses a large collection of Rust libraries, so I guess you could say they rolled their own framework. I’ve never encountered a framework that I believe could handle non-trivial high-traffic web applications. I worked on a project that used Django for years. By the time we were done, we bypassed almost all of Django’s functionality to get it to scale with our data and users.