We’re still working to find a solution for the posting slowness in large communities.

We have seen that a post does get submitted right away, but yet the page keeps ‘spinning’

So right after you clicked ‘Post’ or ‘Reply’ you can refresh the page and the post should be there.

(But maybe to be sure you could copy the contents of your post first, so you can paste again if anything would go wrong…)

  • vepro@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    I assume that there is something that is O(N), which explains why wait time scales with community size (amount of posts, comments)

    • Slashzero@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Oh, Big-O notation? I never thought I’d see someone else mention big O notation out in the wild!

      :high-five:

      • manitcor@lemmy.intai.tech
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        you are going to meet a lot of OG redditors in the next few weeks. Old reddit had Big O in every post, even posts with cute animals.

  • LargeHardonCollider@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Is the slowdown that it the instance has to send out updates about the comment to every other instance before returning a successful response? If so, is anyone working on moving this to an async queue?

    Sending out updates seems like something that’s fine being eventually consistent

      • LargeHardonCollider@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 years ago

        Reading more about how this works, sending out updates to each instance shouldn’t block the request from returning unless you have a config flag set to debug source.

        It might be due to poorly optimized database queries. Check out this issue for more info. Sounds like there are problems with updating the rank of posts and probably comments too

        • Ruud@lemmy.worldOPM
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years ago

          So it looks like YOU SOLVED THE ISSUE with this reply! This led me to check the debug mode, and it was on! It turned that on when I just sterted the server and federation had issues…

          We no longer seem to have the slowness!!

  • Scaldart@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Just hopping into the chain to say that I appreciate you and all of your hard work! This place—Lemmy in general, but specifically this instance—has been so welcoming and uplifting. Thank you!

  • gkd@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Been noticing this in the app I’m working on. Pretty much all POST requests fail to return a response and just timeout after 60 seconds. A quick refresh shows that the new items do successfully get created though.

      • neighbourbehaviour@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        Great, so it’s reproducible and Lemmy-the-app related, not instance-specific. Should be fixable across the board once it’s identified and resolved.

  • Sunforged@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    @ruud@lemmy.world Yo dude, first off huge props and a big thank you for what you have setup. I’ll be donating monthly while I am here. I appreciate that we have an alternative to Reddit at this critical moment in time.

    I do have a question on your long term plans, do you want to continue to expand and upgrade the server, as funding allows, or is there a cap that you will close off the server to new members? Or perhaps make it more of a process to join?

    • Ruud@lemmy.worldOPM
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Well if all the Reddit users would get over to Lemmy I guess all servers would need to scale up… but I think the server we have now is powerfull enough to grow quite a lot, as long as the software gets tuned …

  • wit@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Again, thank you for the outstanding work! You are awesome!

    Also, the new icon for lemmy world is great!

  • TragicNotCute@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I’ve done this twice in the last 20 minutes and the content is not there. This workaround was working earlier today though.

  • mykl@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    At least the “reply” button goes away so I don’t end up double- triple- or even duodecuple-posting! Thanks for all the hard work that must be going on behind the scenes right now!

  • kaxora@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    In my case, the page keeps spinning but the post is not submitted, regardless of reloading the page or waiting for a long time. There was one case where I cut down significantly on the amount of characters in the post and then it posted, but I have been unable to replicate this.

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

      I have the same issue with image posts. If I submit them through the app the posts counter on my profile goes up, but there’s no post. I also can’t retrieve any posts for my own account. It says I have 3 but it shows none.

      Comments work OK so I’m not sure what the problem is. I was worried I got restricted or something.

      Edit: Comments seem to work as the OP suggests though. I get the spinner but they’ve been posted already.

      Edit2: It seems like I can’t post link threads either.

      Edit3: Even worse, it seems like I can’t see my own posts but others can. So I might have spammed Warhammer40k and tabletopminis and I can’t even clean up my own mess.

      Edit4: If I sign out and go to these communities I can see my own posts. I can also go directly to them if I have the link. I can also keep track of them by clicking the star button but it seems like my feed is broken.

      Edit5: Oh my god I’m so fucking stupid. If you hide posts you’ve seen it’ll also hide your own posts…