• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: October 19th, 2023

help-circle

  • xasdfxx@alien.topBtoStartupsServer Set up
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    what would you need to know as part of the profiling

    what’s taking the time

    Obvious things

    1 - your server is out of ram (free -g; ps aux --sort -rss)

    2 - your server is serving a ton of requests (what tho)

    3 - database slow

    4 - database full

    5 - db out of connections (are you using connection pooling?)

    6 - poor choices inside whatever php you’ve written

    7 - internet between scaleway / DO

    That said… all this is optimized to be as cheap as possible. Value your time, use bigger servers, and go figure out if you’ve created any value. If you’ve created value, hosting costs can be optimized.