Answer the question
In order to leave comments, you need to log in
How to reduce the load?
Good evening!
There is a project and when the site goes online under 200, the server is fully loaded at 100% (8 cores, 16 oz)
It is loaded mainly by hasura and postgres
What can you advise to reduce the load on the server or should everything be distributed over several servers?
Answer the question
In order to leave comments, you need to log in
Well, for starters, it would be nice to twist the postgres config + see what the application is constantly doing there, which eats up all the resources. 200 online is never a highlod
In this formulation of the question - nothing. It is necessary to look at what and how accesses the database. There can be many problems - from poor query optimization and crooked indexes, to constantly getting data that can be cached.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question