1 млн. запросов инет-страниц при работе с CMS-системой Joomla
Вот провели тест на получение 1 млн. инет-страниц при работе CMS-системы Joomla на нашем сервере. С таким объёмом наш сервер справился за 9,6 часа. Таким образом, наш сервер способен выдержать нагрузку в 1,2 млн. страниц в сутки.
Вот результаты тестирования:
root@titan-r:~# ab -c 5 -n 1000000 http://3r.kiev.ua/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 3r.kiev.ua (be patient)
Completed 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Finished 1000000 requests
Server Software: nginx/0.4.13
Server Hostname: 3r.kiev.ua
Server Port: 80
Document Path: /
Document Length: 10496 bytes
Concurrency Level: 5
Time taken for tests: 34785.675571 seconds
Complete requests: 1000000
Failed requests: 999925
(Connect: 0, Length: 999925, Exceptions: 0)
Write errors: 0
Non-2xx responses: 11
Total transferred: -1991124364 bytes
HTML transferred: 1831846342 bytes
Requests per second: 28.75 [#/sec] (mean)
Time per request: 173.928 [ms] (mean)
Time per request: 34.786 [ms] (mean, across all concurrent requests)
Transfer rate: -55.90 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 173 44.6 168 1743
Waiting: 0 167 44.1 162 1738
Total: 0 173 44.6 168 1743
Percentage of the requests served within a certain time (ms)
50% 168
66% 193
75% 209
80% 218
90% 233
95% 247
98% 269
99% 284
100% 1743 (longest request)
Вот результаты тестирования:
root@titan-r:~# ab -c 5 -n 1000000 http://3r.kiev.ua/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 3r.kiev.ua (be patient)
Completed 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Finished 1000000 requests
Server Software: nginx/0.4.13
Server Hostname: 3r.kiev.ua
Server Port: 80
Document Path: /
Document Length: 10496 bytes
Concurrency Level: 5
Time taken for tests: 34785.675571 seconds
Complete requests: 1000000
Failed requests: 999925
(Connect: 0, Length: 999925, Exceptions: 0)
Write errors: 0
Non-2xx responses: 11
Total transferred: -1991124364 bytes
HTML transferred: 1831846342 bytes
Requests per second: 28.75 [#/sec] (mean)
Time per request: 173.928 [ms] (mean)
Time per request: 34.786 [ms] (mean, across all concurrent requests)
Transfer rate: -55.90 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 173 44.6 168 1743
Waiting: 0 167 44.1 162 1738
Total: 0 173 44.6 168 1743
Percentage of the requests served within a certain time (ms)
50% 168
66% 193
75% 209
80% 218
90% 233
95% 247
98% 269
99% 284
100% 1743 (longest request)
Комментарии