B
B
Batka313372018-12-12 23:41:20
PHP
Batka31337, 2018-12-12 23:41:20

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

1 answer(s)
K
ky0, 2018-12-13
@ky0

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 question

Ask a Question

731 491 924 answers to any question