• U+1F914 🤔@lemmy.world
    link
    fedilink
    arrow-up
    43
    ·
    1 year ago

    “This release includes major improvements to performance, specifically optimizations of database queries. Special thanks to @phiresky, @ruud, @sunaurus and many others for investigating these.”

    Hehe, lemmy.world doing some stress testing for the entire lemmy project.

  • Nato Boram@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    1 year ago

    Hi! I noticed an issue with the headers sent by Lemmy.world.

    Headers sent from and to this website’s official UI look like this:

    HTTP/1.1 200 OK
    server: nginx/1.18.0 (Ubuntu)
    date: Fri, 07 Jul 2023 23:35:17 GMT
    content-type: application/json
    vary: accept-encoding, Origin, Access-Control-Request-Method, Access-Control-Request-Headers
    content-encoding: gzip
    access-control-allow-origin: *
    access-control-allow-methods: GET, POST, PUT, OPTIONS
    access-control-allow-headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
    access-control-expose-headers: content-encoding, content-type, vary, Content-Length,Content-Range
    X-Firefox-Spdy: h2
    

    Which is fine. However, headers received by custom clients look like this:

    HTTP/2 200 OK
    server: nginx/1.18.0 (Ubuntu)
    date: Fri, 07 Jul 2023 23:33:50 GMT
    content-type: application/json
    vary: accept-encoding, Origin, Access-Control-Request-Method, Access-Control-Request-Headers
    content-encoding: gzip
    access-control-allow-origin: https://natoboram.github.io
    access-control-expose-headers: content-encoding, access-control-allow-origin, content-type, vary
    access-control-allow-origin: *
    access-control-allow-methods: GET, POST, PUT, OPTIONS
    access-control-allow-headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
    access-control-expose-headers: Content-Length,Content-Range
    X-Firefox-Spdy: h2
    

    There’s two access-control-allow-origin! This still breaks web clients.

  • Logical@lemmy.world
    link
    fedilink
    arrow-up
    35
    arrow-down
    10
    ·
    1 year ago

    Can you please give us a straight answer regarding blocking threads.net? If you don’t intend to do so, there are those of us who want to know so that we can leave.

      • Mac@lemmy.world
        link
        fedilink
        arrow-up
        10
        arrow-down
        2
        ·
        1 year ago

        Threads big and scary. Smol bois in the Fediverse have been discussing preemptively defederating from Threads due to how big and scary it is in an attempt to protect themselves and the Fediverse as a whole.

      • *Tagger*@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Threads is the new Facebook-owned twitter come. It uses the activity pub protocol and is therefore part of the fediverse.

        People are concerned that Facebook with embrace the fediverse, enhance it with me features (as they will be the largest developers on the platform) and then either deliberately or because no-one can keep up with their development extinguish it.

  • nostalgicgamerz@lemmy.world
    link
    fedilink
    arrow-up
    27
    arrow-down
    5
    ·
    edit-2
    1 year ago

    It’s working great, but we would appreciate an update in regards to letting meta in our instance or not

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

    I find it hilarious how the most random shit always changes with updates. Like I just noticed how the badges for mod and OP changed on posts, and so I knew there’s an update. Who keeps constantly fidgeting with these things?

    Ed: to be clear, I’m not dissing anyone. Keep it up folks

    • Molecular0079@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Yeah I wonder what the reasoning behind that was. Personally I preferred the old way, where it was completedly filled in. Made it easier to notice the tag by color. It also aligned more with the rest of the Lemmy UI and it’s filled-in green buttons.

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

      Haha, this is how fast-moving open source projects work, things change constantly as they believe it’s better to just get (perceived) improvements out of the door when they’re cooked up, instead of waiting in any capacity.

  • owatnext@lemmy.world
    link
    fedilink
    arrow-up
    27
    arrow-down
    9
    ·
    1 year ago

    Thanks for the update! But I noticed an issue: it seems you haven’t commented on defederating from Threads? Please let us know if you are so we can respond accordingly.

  • TheForvalaka@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    1 year ago

    Definitely notice the improved speed and fewer errors lately. Thanks so much for hosting a great instance, and for keeping up with its needs.

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

      Hahah hadn’t seen that one, looks nice! Reminds me of the good old days…

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

            Awesome! We had BBC Micro in schools here, I think at home we had a Commodore or it might have been an Amiga! it is a bit hard to remember so far back :) I remember writing a letter to my dad on it, quoting Monty Python and calling him a bastard lol, not knowing exactly what I was saying at the time. Ah, fond memories!

  • vera@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    Nice to see speedups. I always thought it was ironic that kbin was faster than Lemmy when kbin is php and lemmy is rust. Makes sense it was database stuff. You can’t solve that with language choice.

  • DarthBueller@lemmy.world
    link
    fedilink
    arrow-up
    27
    arrow-down
    16
    ·
    1 year ago

    Where can I learn about transferring my community to another instance? Lemmy.worlds silence about threads means he has no intent to defederate so I need to move over to lemmy.ml.

    Or is this not possible? Do I just need to walk away from my community because @ruud doesn’t care about the issue?

    If that’s the case, how do I add a mod that doesn’t care about meta expressly stating they are going to add features to ActivityPub protocol (step two of EEE)? I don’t want to keep coming back here if it is federated with threads but I don’t need to leave whoever is staying here high and dry.

      • DarthBueller@lemmy.world
        link
        fedilink
        arrow-up
        12
        arrow-down
        9
        ·
        1 year ago

        It really seems like having my own personal instance is the way to go. The only users I’d need to have are mods of any community I create on it. Then I can defederate with tech co instances. damn. I was really starting to like “local” here, but the fact that @[email protected] is totally silent about threads is just absolute BS.

        • Sean@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          Maybe I’m misinterpreting your post but what’s the point of having an instance if your only users are the mods you appoint? You’d just be creating your own personal echo chamber. The whole point of a site like this, at least as I see it, is to bring in a wide variety of users with different opinions. That’s a big reason why Reddit was so successful in the early days. I know that everyone is anti-Threads and Meta, but clearly @ruud@[email protected] knows something we don’t. I think being federated with Threads could be a good chance to grow this community and bring more attention to the Fediverse as a whole. If you see something from a Threads instance that you really don’t like, you can always block and/or mute the account. On Mastodon, you can block entire instances from showing up in your feed. I’m not sure if that is a thing with Lemmy or not, but if not, it might not be a bad thing to implement later on. Sorry for the wall of text.

        • mrmanager@lemmy.today
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          1 year ago

          Use the ansible Lemmy install, it’s very simple and will also create https certs and everything. But you need a domain first, pointed at your hosted server ip address.

          https://github.com/LemmyNet/lemmy-ansible

          So basically:

          • Buy domain
          • Rent a server somewhere (hetzner is great and cheap).
          • Point domain at server ip.
          • Use the ansible install against your server to install everything.

          That’s pretty much it. The ansible install takes care of everything.

          Then you need to subscribe to some other instance community from your instance so other instances know you exist, for federation to work.

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

            How much power does it take to run an instance? Not planning on hosting my own, just curious. I read stories about people being able to host a Mastodon instance on a Raspberry Pi.

            • mrmanager@lemmy.today
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              1 year ago

              Yeah it doesn’t take much for a small instance. My instance uses 1 GB of memory and like 2% cpu on each core (got 3 cores). But I only have a handful of active users.

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

              Im just a noob thats interested. I havent tried it yet. But ive found a couple guides.

              Check out the self hosting communities. Ill see if i can find the one im thinking of but Lemmy also has an official guide in the documentation.

  • GONADS125@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    Mobile browser is ultra fast and stable, and Jerboa is running like a charm! Appreciate all you and your team’s hard work.