nginx支持184个并发 在2秒内

2019-08-20 23:29 阅读 132 views 次 评论 0 条

vi  /usr/local/nginx/conf/nginx.conf

worker_processes auto;

 

events

        {

                use epoll;

                worker_connections 30;

                multi_accept on;

        }

nginx -s reload

Requests per second: 184.69 [#/sec] (mean)
Time per request: 1082.880 [ms] (mean)
Time per request: 5.414 [ms] (mean, across all concurrent requests)
Transfer rate: 56.01 [Kbytes/sec] received
1091.74 kb/s sent
1147.76 kb/s total

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 370 153.5 360 915
Processing: 107 595 397.5 489 4681
Waiting: 0 234 496.3 0 4388
Total: 150 965 457.7 924 5051

Percentage of the requests served within a certain time (ms)
50% 924
66% 1070
75% 1170
80% 1191
90% 1398
95% 1558
98% 1995
99% 3144
100% 5051 (longest request)

版权声明:本文著作权归原作者所有,欢迎分享本文,谢谢支持!
转载请注明:nginx支持184个并发 在2秒内 | 蚂蚁浏览器看点
分类:电脑技术 标签:

发表评论


表情