A
A
AE422020-07-13 18:26:45
PostgreSQL
AE42, 2020-07-13 18:26:45

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
5f0c7cf5aec6a188247056.png
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

2 answer(s)
A
alternativshik, 2020-07-13
@alternativshik

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

I
Ivan Shumov, 2020-07-13
@inoise

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 question

Ask a Question

731 491 924 answers to any question