Answer the question
In order to leave comments, you need to log in
What is the minimum possible response time for ssl+nginx+php?
Yandex.Cloud is running Ubuntu 18.04 + Nginx(1.14) + Ssl(certbot) + Php7.2-fpm, response times are as follows:
Testing from a host with a web server via curl -s -w
http: 5ms
https: 15ms
https -> php : 25ms
https -> php -> pgsql: 38ms (db on another host, so omit)
I think this is too long
The question is: how much response time can I squeeze? What is it like for highload services and how to make it like that?
PS configs are all standard, php via fpm
Answer the question
In order to leave comments, you need to log in
It is important to understand - why squeeze. 30, 50 and even 200 ms to load a page in the browser are barely distinguishable (or rather, the spread from packet loss and RTT of the client's Internet makes a much larger contribution).
If you keep the response time for the vast majority of requests comfortable for the user under the calculated load during load testing - congratulations, you are doing well. If not, this is where the field for optimizations will be found.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question