Oswell E. Spencer
Цитата:
Минимальные нагрузки на сервер.
Демо сайты развернуты на VPS (1 СPU/1 GB RAM/20 GB SSD).
Benchmarking ru.latinotechnet.org (be patient)
Finished 12 requests
Server Software: cloudflare
Server Hostname: ru.latinotechnet.org
Server Port: 80
Document Path: /
Document Length: 60084 bytes
Concurrency Level: 10
Time taken for tests: 10.020 seconds
Complete requests: 12
Failed requests: 11
(Connect: 0, Receive: 0, Length: 11, Exceptions: 0)
Keep-Alive requests: 0
Total transferred: 758880 bytes
HTML transferred: 745477 bytes
Requests per second: 1.20 [#/sec] (mean)
Time per request: 8350.406 [ms] (mean)
Time per request: 835.041 [ms] (mean, across all concurrent requests)
Transfer rate: 73.96 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 65 72 3.7 72 78
Processing: 3700 5748 1620.5 6180 8228
Waiting: 3585 5640 1625.4 6074 8115
Total: 3770 5820 1623.4 6250 8306
Percentage of the requests served within a certain time (ms)
50% 6250
66% 6941
75% 7061
80% 7061
90% 7483
95% 8306
98% 8306
99% 8306
100% 8306 (longest request)
ларавел не под траффик сайты, на 10 конкурентных клиентах в течении 10 секунд, половина запросов без ответов, на сайты не зайти во время теста. единственный вариант все жестко кэшировать nginx-ом, не забываем про это!
ТС, рекомендую научить софт кэшировать страницы на чем-то типа redis в первую очередь, чтоб по реже в базу ходить хотяб. Удачи!
p.s. для сравнения
Concurrency Level: 100
Time taken for tests: 10.000 seconds
Complete requests: 15229
Failed requests: 0
Keep-Alive requests: 15229
Total transferred: 55783827 bytes
HTML transferred: 51656768 bytes
Requests per second: 1522.87 [#/sec] (mean)
Time per request: 65.665 [ms] (mean)
Time per request: 0.657 [ms] (mean, across all concurrent requests)
Transfer rate: 5447.54 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 141.0 0 3392
Processing: 48 56 26.7 54 596
Waiting: 48 56 26.7 54 596
Total: 48 65 148.2 54 3486
Percentage of the requests served within a certain time (ms)
50% 54
66% 55
75% 57
80% 57
90% 58
95% 59
98% 61
99% 249
100% 3486 (longest request)
phpnoob
Oswell E. Spencer писал:
Benchmarking ru.latinotechnet.org (be patient)
Finished 12 requests
Server Software: cloudflare
Server Hostname: ru.latinotechnet.org
Server Port: 80
Document Path: /
Document Length: 60084 bytes
Concurrency Level: 10
Time taken for tests: 10.020 seconds
Complete requests: 12
Failed requests: 11
(Connect: 0, Receive: 0, Length: 11, Exceptions: 0)
Keep-Alive requests: 0
Total transferred: 758880 bytes
HTML transferred: 745477 bytes
Requests per second: 1.20 [#/sec] (mean)
Time per request: 8350.406 [ms] (mean)
Time per request: 835.041 [ms] (mean, across all concurrent requests)
Transfer rate: 73.96 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 65 72 3.7 72 78
Processing: 3700 5748 1620.5 6180 8228
Waiting: 3585 5640 1625.4 6074 8115
Total: 3770 5820 1623.4 6250 8306
Percentage of the requests served within a certain time (ms)
50% 6250
66% 6941
75% 7061
80% 7061
90% 7483
95% 8306
98% 8306
99% 8306
100% 8306 (longest request)
ларавел не под траффик сайты, на 10 конкурентных клиентах в течении 10 секунд, половина запросов без ответов, на сайты не зайти во время теста. единственный вариант все жестко кэшировать nginx-ом, не забываем про это!
ТС, рекомендую научить софт кэшировать страницы на чем-то типа redis в первую очередь, чтоб по реже в базу ходить хотяб. Удачи!
p.s. для сравнения
Concurrency Level: 100
Time taken for tests: 10.000 seconds
Complete requests: 15229
Failed requests: 0
Keep-Alive requests: 15229
Total transferred: 55783827 bytes
HTML transferred: 51656768 bytes
Requests per second: 1522.87 [#/sec] (mean)
Time per request: 65.665 [ms] (mean)
Time per request: 0.657 [ms] (mean, across all concurrent requests)
Transfer rate: 5447.54 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 141.0 0 3392
Processing: 48 56 26.7 54 596
Waiting: 48 56 26.7 54 596
Total: 48 65 148.2 54 3486
Percentage of the requests served within a certain time (ms)
50% 54
66% 55
75% 57
80% 57
90% 58
95% 59
98% 61
99% 249
100% 3486 (longest request)
спасибо за redis. если вы знаете laravel то его этому учить не надо, он умеет из коробки.
Последний раз редактировалось: phpnoob (02/12/18 в 15:40), всего редактировалось 2 раз(а)