I’m not happy with the performance, especially when clicking ‘Post’ it takes too long.

First I will upgrade this VPS from 2cpu/4GB to 4cpu/16GB.

Then I will tune the database (more shared_buffers to start with)

After that I’ll see what more I can tune, together with the Lemmy admin channel.

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

    Server is rescaled. Still not 100% happy with performance, but we can check further from here. More room for tuning anyway.

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

    Given the influx of users, and the general scramble with server restarts, it feels like the early day of forums again. I’ll not be complaining about it!

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

      Yeah it really takes you back lmfao, I think it’s great that people are starting to see the benefits of decentralization again, I had started flirting with self hosting last year and have like 20+ docker containers running on a pi 4 now.

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

    Let me know if you need some advice. I’ve been helping the Lemmy devs with their db queries on GitHub. They should release a new version soon which will help a bit. And I gave some more advice today.

    You seem to know what you’re doing on the infra side but if you need someone to review pg settings and tuning I’m happy to help. I’m not sure how you installed this instance but I’d recommend pumping up the db connections from default and using a connection pooler like pgbouncer if you’re not already.

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

      Thanks for the offer! The database side is the side I’m most familiar with (I’m a (Postgres) DBA), but any help is appreciated at this moment because there’s a lot to do with this crazy inflow of users!