Answer the question
In order to leave comments, you need to log in
How and with what to profile python, postgresql, hardware, etc?
Here we have an abstract application in a vacuum. Flask, postgresql, redis.
How to profile? How to find out what "rests" performance? I often read about this on habr / etc, but I did not find anything understandable.
From knowledge - I turned on the log of slow postgres requests - everything is fine, everything is fast, by indexes.
How do you figure out when you can put up with performance and sigh to buy more servers, and when to look for bottles necks?
Answer the question
In order to leave comments, you need to log in
If you need to watch in production, then strictly newrelic is an excellent service.
And when developing, you can start with this: www.vrplumber.com/programming/runsnakerun is a good profiler for Python. Run a load test and see what is eating how much.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question