I’m trying to fix this annoying slowness when posting to larger communities. (Just try replying here…) I’ll be doing some restarts of the docker stack and nginx.

Sorry for the inconvenience.

Edit: Well I’ve changed the nginx from running in a docker container to running on the host, but that hasn’t solved the posting slowness…

  • Slashzero
    link
    fedilink
    English
    3
    edit-2
    1 year ago

    Somehow I don’t think the slowness when posting or saving is due to the nginx server / reverse proxy running inside the Lemmy container.

    I would think it’s related to inserts and updates in the DB, but I haven’t had time to look into it on my instance, sorry!


    Edit wait! Posting and saving is fast now! What did you change? Nicely done! 👍

    • RuudOPMA
      link
      English
      51 year ago

      No it’s not! Not for me anyway. Yes I’ll be looking into that, but first migrate the server!

      • Slashzero
        link
        fedilink
        English
        2
        edit-2
        1 year ago

        Oh wait, that’s because I’m posting to Lemmy.world from my instance. It’s only slow when posting to Lemmy.world from a Lemmy.world user.

        With that in mind, it makes me think it has something to do with some insert or update that happens. My local DB is not under load, so my save is fast. Lemmy.world’s DB is under load so the save is slow.

        It might not even be the insert/update that is slow. Could be some other insert into another table that gets triggered on save that is the culprit.

    • @veroxii
      link
      English
      31 year ago

      Posting seems faster when posting to a non-local federated community. Maybe that’s what you experienced?