Calculate database performance during overload

I don’t know if this place is right for this question, but here it is:

I have a db function that I tested and can handle about 3000 requests / minute. The problem is that this calculation gives me the optimal performance of the function (~ 18 ms / request). How to calculate performance when requests will be double, triple or n-different?

+3
source share
1 answer

try creating multiple threads or processes that all call the function as quickly as possible. it is preferable to use the same number of threads that will be used in the production environment.

+1

Source: https://habr.com/ru/post/1769452/


All Articles