apache 和 nginx 压力测试结果
模拟1000个用户,设置10秒
apache
Transactions: 3725 hits
Availability: 100.00 %
Elapsed time: 9.26 secs
Data transferred: 32.39 MB
Response time: 1.21 secs
Transaction rate: 402.27 trans/sec
Throughput: 3.50 MB/sec
Concurrency: 488.71
Successful transactions: 3725
Failed transactions: 0
Longest transaction: 7.71
Shortest transaction: 0.00
nginx
Transactions: 10152 hits
Availability: 100.00 %
Elapsed time: 9.54 secs
Data transferred: 545.65 MB
Response time: 0.31secs
Transaction rate: 1064.15trans/sec
Throughput: 57.20 MB/sec
Concurrency: 329.25
Successful transactions: 10152
Failed transactions: 0
Longest transaction: 8.04
Shortest transaction: 0.00
以上测试在内网测试,debian安装apache ,centos安装nginx ,测试页面是一个php
phpinfo();。内容只是打印详细信息。