云服务器是试用的 2核 1.5G内存
另外一个是独立服务器单颗四核至强2.26的好像是,内存是4G
两个机器都是测试的一个404页面。
云服务器 测试结果是
Server Software: nginx/1.0.15
Server Hostname:
Server Port: 80
Document Path: /assdasdadfas
Document Length: 532 bytes
Concurrency Level: 10000
Time taken for tests: 13.951 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Non-2xx responses: 53788
Total transferred: 36683416 bytes
HTML transferred: 28615216 bytes
Requests per second: 3583.93 [#/sec] (mean)
Time per request: 2790.230 [ms] (mean)
Time per request: 0.279 [ms] (mean, across all concurrent requests)
Transfer rate: 2567.79 [Kbytes/sec] received
Connection Times (ms)
min mean[ /-sd] median max
Connect: 0 1481 1439.7 1057 7989
Processing: 26 772 442.5 693 4573
Waiting: 12 627 396.8 575 4200
Total: 31 2254 1503.3 1780 9084
Percentage of the requests served within a certain time (ms)
50% 1780
66% 2262
75% 2686
80% 3036
90% 4316
95% 4459
98% 8437
99% 8567
100% 9084 (longest request)
独立服务器测试结果是
Server Software: nginx/1.0.15
Server Hostname:
Server Port: 80
Document Path: /asdfsdfasda
Document Length: 532 bytes
Concurrency Level: 10000
Time taken for tests: 10.973 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Non-2xx responses: 50610
Total transferred: 34516020 bytes
HTML transferred: 26924520 bytes
Requests per second: 4556.48 [#/sec] (mean)
Time per request: 2194.678 [ms] (mean)
Time per request: 0.219 [ms] (mean, across all concurrent requests)
Transfer rate: 3071.71 [Kbytes/sec] received
Connection Times (ms)
min mean[ /-sd] median max
Connect: 1 1240 1734.3 518 7573
Processing: 24 517 391.6 485 4031
Waiting: 20 428 386.9 370 3791
Total: 25 1757 1832.0 1065 8473
Percentage of the requests served within a certain time (ms)
50% 1065
66% 1280
75% 1766
80% 2058
90% 3811
95% 8184
98% 8274
99% 8340
100% 8473 (longest request)
好像都差不多。。。服务器CPU占80%左右
不知道这么测对不对哦。。。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。