For those who find it interesting, enjoy!

    • @[email protected]
      link
      fedilink
      551 year ago

      Comparing it to Spez and how Reddit became prior to the migration, this is such a refreshing change

        • Instigate
          link
          fedilink
          English
          101 year ago

          Sooo… /u/Ruud is nothing like /u/Spez? Same energy as “Communism is like Capitalism but only if Capitalism got rid of the concept of capital”.

    • ABeeinSpace
      link
      fedilink
      431 year ago

      You worked on Grafana? Your product is awesome, I use it in my homelab for performance metrics

    • @[email protected]
      link
      fedilink
      111 year ago

      Grafana is the most essential application in my job. I can use Notepad to code in a world without IDEs. I couldn’t keep a damn thing running in the real world without Grafana. And I’ve been forced against my will to use alternatives in the past.

        • @[email protected]
          link
          fedilink
          31 year ago

          Basically brute force, I’m not great with it but I was the one on my team responsible for setting up our dashboards. I wrote the prometheus metric collection in our microservices and built the dashboards from that data.

          There are tons of free dashboards though for monitoring resources and such so a lot of things I use are just downloaded from the Grafana website. And the docs are good too. So looking at examples + documentation is how I learn. It would be helpful if I was better with math though.

  • @[email protected]
    link
    fedilink
    971 year ago

    It’s been very snappy today, nice work! Is it all under Docker Compose with the node handling Nginx and Postgres as well?

      • @[email protected]
        link
        fedilink
        18
        edit-2
        1 year ago

        Why did you guys roll back the UI to .7 from .10? I enjoyed some of the UI improvements, but I guess there were some bugs?

        Edit: I see its back to .10 maybe I had a browser tab open from before that I never refreshed

      • @[email protected]
        link
        fedilink
        141 year ago

        I‘m really grateful for your and your colleagues‘ work. Thank you for letting us lemmy around here!!!

  • Tygr
    link
    fedilink
    471 year ago

    I can’t believe how fast you’ve managed to crowdsource and fix things on this instance. I haven’t seen many problems at all sharing comments and things.

    • @[email protected]
      link
      fedilink
      471 year ago

      From the lemmy.world front page:

      Donations
      
      If you would like to make a donation to support the cost of running this platform, please do so at the mastodon.world donation URLs:
      
          https://opencollective.com/mastodonworld
          https://patreon.com/mastodonworld
        • Billiam
          link
          fedilink
          211 year ago

          It’s on the right-hand sidebar of lemmy.world:

            • BrerChicken
              link
              fedilink
              9
              edit-2
              1 year ago

              You can view sidebar on mobile. I think it’s in the three dots, but it’s somewhere!

              EDIT: On Jerboa it’s under Community Info, under the three dots. On the mobile web app for L.W. there’s a sidebar button.

  • @[email protected]
    link
    fedilink
    261 year ago

    Damn that’s a huge chunk of (what looks like) a 64 core CPU there. Impressive!

    It’s cool it can aggressively cache that much. Although I am perplexed why one would have a swap file configured in this case? What does it give you here? Sorry not trying to be an elitist or anything just have no idea what advantage you get!

    • RuudOPM
      link
      fedilink
      191 year ago

      To be honest I tend to use swap less and less. But this was in the build that Hetzner does and I didn’t remove it.

    • @[email protected]
      link
      fedilink
      131 year ago

      If your application goes wild with RAM usage, a properly configured swap will make sure the underlying OS remains responsive enough to deal with it.

      • @[email protected]
        link
        fedilink
        41 year ago

        The OOM killer is usually triggered after it starts hitting the disk. Which means your system is unresponsive for a long time until it finally kills something.

        Using something like oomd can help trigger before it hits swap but then why are you using swap in the first place?

        The bigger issue is that the kernel sometimes ignores the swappiness and will evict code/data pages long before file cache even when set to 0 or 1. I’m still not sure if that was because of an Ubuntu patch or if it was an issue that’s been resolved in the years since I last saw this

  • @[email protected]
    link
    fedilink
    24
    edit-2
    1 year ago

    How far do you see lemmy.world capable of scaling to? One thing I’ve been noticing is the centralisation of Lemmy users on a few top servers, surely that cannot be healthy for federation? What are your thoughts on this?

      • @[email protected]
        link
        fedilink
        21 year ago

        Not entirely sure of what you are asking, but the only reason they need a clustered setup is simply because of their scale. Making the details of their setup public does not help with the issue I addressed, since in an ideal scenario, communities and users would be evenly distributed amongst the many Lemmy instances in the fediverse, making the need to do any sort of clustering for performance reasons unnecessary.

          • RuudOPM
            link
            fedilink
            61 year ago

            We do run on 1 server, but we’ve now seen that Lemmy scales horizontally so the k8s path forward is open 😊 With all these latest improvements we can have a bit more users on the current box.

            • @astral_avocado
              link
              21 year ago

              Oh, I could a swore I read somewhere you went multi. Maybe I’m confusing another instance

          • @[email protected]
            link
            fedilink
            21 year ago

            Not trying to be pedantic, but why do they have to do so? Why can’t people figure it out themselves? Also, why can’t Lemmy instances run on single non-redundant boxes? Most instance operators don’t have the budget of enterprises, so why would they have to run their Lemmy’s like enterprises?

              • @[email protected]
                link
                fedilink
                2
                edit-2
                1 year ago

                Er, because we should all be working together to try to help Lemmy grow and be stable…?

                I agree with this point, but I disagree with the context in which you mentioned, “They should post their clustered setup so others can replicate more easily”, right as a reply to my original comment asking how Ruud felt about the centralisation of users in a federated application. This should’ve been an entirely separate reply, or perhaps an issue on GitHub to the Lemmy authors.

                You can run on a single box, but a single problem will bring down your single box. This is a basic problem commonly discussed in DevOps circles.

                Again, I agree, but the context in which you mentioned it, basically suggests that everyone who runs single instance Lemmys are doing it wrong, which I disagree.

                Lowering the entry requirements is part of how we can get wide-spread adoption of federated software. Not telling people that they have to have at least 2 instances with redundancies or they are doing it entirely wrong.

                The bare minimum I would ask anyone running their own instance, is to have backups. They don’t need fancy load-balancers, or slaved Postgres database setups, or even multi-node redis caches for their instances of sub-thousand users.

                For example, one reasonably priced server on most providers is like $20-40/month. Say a load balancer as a service is another $10-20, and a database server or database as a service is also like $20-$40. A distributed, redundant setup would be like 2 webservers, a database, and a load balancer so like, $70?

                Seriously? That may be an acceptable price tag for a extremely public Lemmy host, like lemmy.world or lemmy.ml, but in no way should it be a reasonable price tag for the vast majority of Lemmy instances setup out there. Especially when most of them have sub-thousand users. $70/mo? That has to be a joke. You can easily host a Lemmy on a $5-$10 droplet for ~100 users.

                I’ve deployed clustered applications myself, I just haven’t looked into doing it with Lemmy and was curious if they had a run book or documentation.

                No offense, but you definitely seem like the kind of person to shill for cloud-scaling and disregard cost-savings.