Status update July 4th

Just wanted to let you know where we are with Lemmy.world.

Issues

As you might have noticed, things still won’t work as desired… we see several issues:

Performance

  • Loading is mostly OK, but sometimes things take forever
  • We (and you) see many 502 errors, resulting in empty pages etc.
  • System load: The server is roughly at 60% cpu usage and around 25GB RAM usage. (That is, if we restart Lemmy every 30 minutes. Else memory will go to 100%)

Bugs

  • Replying to a DM doesn’t seem to work. When hitting reply, you get a box with the original message which you can edit and save (which does nothing)
  • 2FA seems to be a problem for many people. It doesn’t always work as expected.

Troubleshooting

We have many people helping us, with (site) moderation, sysadmin, troubleshooting, advise etc. There currently are 25 people in our Discord, including admins of other servers. In the Sysadmin channel we are with 8 people. We do troubleshooting sessions with these, and sometimes others. One of the Lemmy devs, @nutomic@lemmy.ml is also helping with current issues.

So, all is not yet running smoothly as we hoped, but with all this help we’ll surely get there! Also thank you all for the donations, this helps giving the possibility to use the hardware and tools needed to keep Lemmy.world running!

  • Dr. Santa@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Does Lemmy have the ability to replace default links?

    Basically, replace signup link with one that redirects to a page that gives a very simple as possible explanation what’s going on, what fediverse is and gives s list of other instances to try.

    Reinforce “All are viable and can browse lemmy.world subs”… Or communities or whatever term we use here for lemmy equivalent of subreddits.

    • CoderKat@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I was personally thinking more along the lines of if we could have a load balancer whose sole job is to route users to a random set of possible instances (which can all be administered by the same person, so that you’re still joining the instance “group” that you want). The load balancer would route someone the first time they land on the page and also handle logins. That’s it.

      I’m assuming that the servers we’re talking about are single servers, because that’s how things sound. I’m personally used to only developing servers that use the “many servers behind a load balancer” approach. While distributed databases can certainly make those easier, in the absence of support for that, you could always run the backends as entirely separate servers, with the load balancer just serving to pick the backend. So you’d have a lemmy1.world and so on.

      Of course, for all I know, maybe this is already the architecture of a Lemmy instance. I’ve never checked. Even with a good architecture, scaling can be difficult. An unnoticeable performance issue in a dev environment can be a massive bottleneck when you have tens of thousands of concurrent users.

      • yaaaaayPancakes@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        There was a post about it. They’re running a number of instances of the frontend and backend containers, behind nginx which they’re using as a load balancer.

      • Dr. Santa@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I’m not sure I’m following.

        Wouldn’t this load balancer be swapping the user’s current instance user420@lemmy.world may suddenly become user420@lemm.ee?

        Or more like multiple servers within the same umbrella instance? User420@lemmy.world, User420@lemmy.world1, User420@lemmy.world2, User420@lemmy.world3.

        Apologies, while I think myself fairly tech savvy, development and networking is still a bit out of reach.

        • CoderKat@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Or more like multiple servers within the same umbrella instance? User420@lemmy.world, User420@lemmy.world1, User420@lemmy.world2, User420@lemmy.world3.

          This is what I was originally picturing. So that logged in users would be browsing on pretty much entirely separate instances (avoiding them having to reuse as much).

          I hadn’t really decided on how I best liked the idea of handling logins, since there’s so many possible options. It could be that users would just have to either know their server (so you’d have to sign in as User420@lemmy1.world). Or the load balancer could maintain a simple store of users/emails to instances to avoid that. Or at the cost of extra complexity (yay), you could replicate the user across all the instances but only make a single instance active for that user at a time (that’s a pretty common technique with systems I work with, with servers being strongly coupled to some range of resources to maximize efficiency).

          • Dr. Santa@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            I noticed you talked about the load balancer being a person. Sounds like it’d be better if it was a bot. They just see which pool is currently the emptiest and put them there, right?

            Although you seem to be suggesting live instance swapping. Which might be possible in the future. Right now appears to be tied to registration.