So after we’ve extended the virtual cloud server twice, we’re at the max for the current configuration. And with this crazy growth (almost 12k users!!) even now the server is more and more reaching capacity.

Therefore I decided to order a dedicated server. Same one as used for mastodon.world.

So the bad news… we will need some downtime. Hopefully, not too much. I will prepare the new server, copy (rsync) stuff over, stop Lemmy, do last rsync and change the DNS. If all goes well it would take maybe 10 minutes downtime, 30 at most. (With mastodon.world it took 20 minutes, mainly because of a typo :-) )

For those who would like to donate, to cover server costs, you can do so at our OpenCollective or Patreon

Thanks!

Update The server was migrated. It took around 4 minutes downtime. For those who asked, it now uses a dedicated server with a AMD EPYC 7502P 32 Cores “Rome” CPU and 128GB RAM. Should be enough for now.

I will be tuning the database a bit, so that should give some extra seconds of downtime, but just refresh and it’s back. After that I’ll investigate further to the cause of the slow posting. Thanks @[email protected] for assisting with that.

  • SkidFace@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Like many others, I came from Reddit and was initially hesitant to try it out, but I love this place so much! It really feels like the “worse” parts of Reddit have been skimmed off, and that definitely shows with how nice people seem here! Thank you so much!

    • impulse@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Truth is for me as someone who used Reddit for about the last 16 years, it very much feels like the early days of Reddit again.

      Which is a very good thing, because that’s what I originally signed up for compared to a metric fuckton of karma farming spam bots.

      I just hope it gains enough traction to be sustainable in the long run, especially considering that it’s relying on donations for funding, I believe?

      • bandario@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        undefined> metric fuckton of karma farming spam bots.

        People are hard at work writing bots for lemmy so don’t worry, you’ll be able to enjoy your regular hogwash again really soon.

        Personally I think lemmy should go as far out of its way as possible to make bots in any and all forms just about impossible.

    • Maiznieks@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Found one russian troll already. Oh well…

      Edit: lol, was not referring to OP, it was some world news post comment with chiese username that spread misinformation about russian war in ukraine. I just added my thoughts on the community.

  • TheDarkBanana87@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Hello, i still doesn’t quite grasp about the concept of federation and about how fediverse works.

    But does it means that one instance can only run from one server?

    Say lemmy.world running on Server A lemmy.ml running on Server B

    User can register on whichever they want and can see the post from server A and Server B

    But when Server A reach maximum capacity, can Server A scale up or distribute the load to multiple instances?

    How can we solve the issue of computing power when more and more users migrate to using this services

    Thank you 😀

    Sorry if its a dumb question, but the whole Federation concept is still new to me. I created multiple account to log in to beehaw, mastodon, lemmy.world, lemmy.ml at first because i dont know that with one user, i can see other communities from another instances

    • Clay_pidgin@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I’m trying to figure out why I even saw this post! I’ve never been to lemmy.world - I’m logged in to (and currently browsing) sh.itjust.works. Not sure why it’s showing me this post.

      Gonna take a while to wrap my redditor brain around this stuff!

      • bdonvr@thelemmy.club
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        1 year ago

        That’s what we mean when we talk about federation!

        All the instances are interconnected (unless they block each other). You can post, vote, comment, and even become a moderator of a community on any other instance.

        In many ways, it’s all one big site. In many ways it’s also not, but to the end user who just wants to browse around, it’s not as important as people make it out to be.

        There’s some rough edges around community discovery, cross-instance linking, etc. But the devs are working hard on fixing those issues.

        • Clay_pidgin@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I understood that I would see remote (is that the right word?) communities to which I had subscribed. Am I also seeing communities to which my local users have subscribed? I don’t think I’d want that.

          • bdonvr@thelemmy.club
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            There’s a few tabs at the top of the feed (on the site, apps might be different)

            “Local” shows all content from communities on your instance.

            “All” shows content from all communities on all instances that your instance has “discovered”. Your instance will discover a remote community once at least one member of your instance searches for it and subscribes.

            “Subscribed” shows content from communities you’ve subscribed to, both local and remote.

    • Ruud@lemmy.worldOPM
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Optimal would be if users would spread over many servers, instead of all coming to Lemmy.world. But most users don’t fully understand the Federation concept so they think they need to register here so they can see local content?

      I think the current server can handle a lot of users. It’s just the software that isn’t ready for it… but that will improve. If ever this server gets too small, next step would be to scale using Kubernetes, but also that requires the software to be better prepared for that.

      • bdonvr@thelemmy.club
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You’re seeing mostly CPU bottlenecks I assume?

        What’s your RAM and storage situation looking like?

      • TheDarkBanana87@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Hello, after reading all the comments, I realized that I share the same questions (sort of) with the others.

        Thank you for replying and clarify things

        Cheers Ruud. And thank you 😊

      • JoeKrogan@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Perhaps having the lemmy main site suggest servers with less load in a dynamic way would help with this. Instance xyz is now recommended on the main page due to having less users. The main problem I see with that is that there are different “themed” and what is suggested may not match up with the user’s preferences and tastes.

        Thanks for setting up and managing the instances.

        • bdonvr@thelemmy.club
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          This is already the case I think. But the server must meet certain requirements, including specifically opting into being recommended.

  • Luca@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’m not too familiar with Lemmy’s codebase, but I am a devops engineer. Is the software written in any way to support horizontal scaling? If so, I’d be happy to consult/help to get the instance onto an autoscaling platform eventually.

    • terebat@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Doesn’t support HA or horizontal scaling yet from what I read. Unsure if kbin does. Probably would have to add support for horizontal scaling to have that auto scaling do anything.

      • Luca@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yeah, that’s what I was afraid of. Understandable though, since horizontal scaling/HA usually isn’t a priority when developing a new application.

    • Gollum@feddit.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      The code is open source on GitHub and the backend is written in Rust.

      I have no idea how it goes in terms of scaling…

      • pleasemakesense@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Apparently it’s not ideal at Horizontal scaling (that’s what I’ve picked up from reading stuff here, could be wrong)

        • nulldev@lemmy.vepta.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          I think they can horizontally scale the Postgres maybe? Postgres is probably the biggest performance bottleneck.

          • pleasemakesense@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Have they implemented the postgres? Last I read they were still using websockets (I think I’m not a programmer and don’t know what all that means lmfao)

  • Cool Beance@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    For less tech-savvy newbies (like me), in case there is some confusion affecting your urge to engage/donate… My friend gave me a great explanation:

    • Lemmy the platform is planet Earth

    • “Instances” like lemmy.world, lemmy.ml, beehaw.org, etc. are like the different countries on Earth

    • When someone signs up, the user picks one instance to be a part of, like how an Earthling becomes a citizen of a country

    • If you register at lemmy.world, that means your home instance/ “home country” is lemmy.world, but you can “travel” to lemmy.ml, another instance / “country”, to check out and subscribe to their community

    • When you subscribe to a different instance that’s not your home instance, you can still participate in their content, and other people will be able to see which instance / “country” you’re from

    • Each instance can have its own version of the same “subreddit”, so you can have a c/Memes in your home instance that is different from a c/Memes in another instance. But you can subscribe to both separately

    • c/[community name] is the naming convention used here I think like r/[subreddit name] on Reddit. If talking about a community in a different instance, it’s c/[community name]@[instance name] so like c/[email protected]

    • Donations will help with the cost of running lemmy.world only and not lemmy.ml, beehaw.org, etc.

    Someone please correct any of this if any of it is wrong, I’ll happily edit

  • ZeeKay@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Just curious, what sort of hardware is lemmy.world using/moving to? Wondering if there’s a good way to predict load based on number of users.

    • slashzero@hakbox.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Yes. It’s called performance testing. Basically an engineer would need to setup test user transactions to simulate live traffic and load test the system to see how everything scales, where it breaks, etc. Then you can use the results of the tests to figure out how big of an instance you should use for your projected number of users.

      Jmeter, and locust.io are the two biggest open source performance test tools.

      The alternative is take a wild guess. See how the system behaves, and make adjustments in real time… like what @[email protected] is currently doing.