???????????????????????????????б?????????????????????????????????2???????????????????????????????Apache???и??????????ab??????????Apache???????????????????????????????????
????ApacheBench????????
????ab???????????????????????????????????????URL??????з???????????????????URL????????????????????Apache??????????????????nginx??lighthttp??tomcat??IIS??????Web?????????????ab??????????????????????????????ú??CPU?????????ú????棬?????????????????????????????????CC??????????????????????????????????????????????????????????????????????????????????
?????????# ab [options] [http://]hostname[:port]/path
?????????????
????-n requests Number of requests to perform
????//????????????е?????????????β????????????????????????????????????????
????-c concurrency Number of multiple requests to make
????//??β???????????????????????????????????????????????????????????????????????????????
????ApacheBench?÷??????Linux??????????Apache??????????У?
????# ab  -n  1000 -c 100 http://10.1.1.128/test.php
????//n???????????????1000??????-c?????100???????100???????????100????????????????????????????????URL??

?????????????
????Document Path: /test.php
????#????????
????Document Length: 15 bytes
????#????С
????Concurrency Level: 100
????#???????????????-c???
????Time taken for tests: 0.575 seconds
????#????????????????
????Complete requests: 1000
????#????????????
????Failed requests: 0
????#????????????
????Write errors: 0
????Total transferred: 171171 bytes
????#?????????е????紫????
????HTML transferred: 15015 bytes
????#?????????е?HTML?????????
????Requests per second: 1739.26 [#/sec] (mean)
????#????????????????LR?е?????????????????????е?mean??????????????
????Time per request: 57.496 [ms] (mean)
????#?????????????????LR?е???????????????????????е?mean??????????????  ----???????????????=n/c???????????????=????/??????
????Time per request: 0.575 [ms] (mean?? across all concurrent requests)
????#??????????????????????????
????Transfer rate: 290.73 [Kbytes/sec] received
????#????????????????????????????????????????????????????????????????
????123456 Connection Times (ms)
????min mean[+/-sd] median max
????Connect:                  0  6  8.5    1  28
????Processing:                1  49  18.4    51  113
????Waiting:                  0  46  17.2    49  91
????Total:                  11  55  19.5    54  140

????#????????????????????????????????????????????????????????50?????????????С??54????66?????????????С??58?????????????С??140???????????????cpu????????????????????????????????????????????????????????????????Time per request????????????Time per request?????????????????
?????????????web??????????????????????Ч???????????????????????????????????????????????????????????????в?????????ó?????????????????????е?????????????????????????????????????Ч???????