迁移阿里云服务器之前 对系统进行基准测试
主要测试吞吐量
测试轮询以下几个地址:
用http_load 并发100个,访问10秒,
结果如下:
699 fetches, 100 max parallel, 9.18539e+06 bytes, in 10.0019 seconds
13140.8 mean bytes/connection
69.887 fetches/sec, 918367 bytes/sec
msecs/connect: 555.309 mean, 2222.51 max, 6.129 min
msecs/first-response: 718.757 mean, 5795.55 max, 79.683 min
359 bad byte counts
HTTP response codes:
code 200 -- 699
并发人数200,访问10秒
777 fetches, 200 max parallel, 1.03526e+07 bytes, in 10 seconds
13323.8 mean bytes/connection
77.7 fetches/sec, 1.03526e+06 bytes/sec
msecs/connect: 691.629 mean, 1589.37 max, 12.956 min
msecs/first-response: 1105.9 mean, 4785.8 max, 47.56 min
430 bad byte counts
HTTP response codes:
code 200 -- 777
下面同样连接测阿里云:(图片未用oss测试)
480 fetches, 100 max parallel, 6.07904e+06 bytes, in 10.0012 seconds
12664.7 mean bytes/connection
47.9943 fetches/sec, 607831 bytes/sec
msecs/connect: 745.087 mean, 2248.84 max, 13.463 min
msecs/first-response: 963.048 mean, 1888.16 max, 67.002 min
258 bad byte counts
HTTP response codes:
code 200 -- 480
并发请求200,10秒:
474 fetches, 200 max parallel, 5.24679e+06 bytes, in 10 seconds
11069.2 mean bytes/connection
47.3999 fetches/sec, 524678 bytes/sec
msecs/connect: 1007.31 mean, 4699.24 max, 5.451 min
msecs/first-response: 1622.13 mean, 4608.86 max, 77.459 min
265 bad byte counts
HTTP response codes:
code 200 -- 415