????????????????????????????????ab??http_load??webbench??siege??
????ab??????
????ab???????????????????????????????????????URL??????з???????????????????URL??????????????????????apache??????????????????nginx??lighthttp??tomcat??IIS??????Web?????????????
????ab????????????????????????????????ú??CPU?????????ú????檔?????????????????????????????????CC?????????????????????????????????????????????????????????????????????????????????
???????????????
????1.???????Requests per second??
????????????????????????????????????????λ??reqs/s????????????????????μ?λ??????????????????????????????μ?λ?????????????????????????????????
??????????????????? / /??????
????Request per second = Complete requests / Time taken for tests
????2.????????????The number of concurrent connections??
???????????????????????????????????????????????????
????3.???????????The number of concurrent users??Concurrency Level??
????????????????????????????????????????????????????????????????????????????
????4.???????????????Time per request??
??????????????????????????????????????/ ?????????? / ???????????????
????Time per request = Time taken for tests /?? Complete requests / Concurrency Level??
????5.??????????????????Time per request: across all concurrent requests??
?????????????????????????????????????? / ????????????
????Time taken for / testsComplete requests
?????????????????????????????
???????????=???????????????/?????????????
????Time per request / Concurrency Level
????ab????
????-n????????????е????????????????????????????????????????
????-c??β?????????????????????????????????????
????-t?????????е????????????????????-n 50000??????????????????????????????????????????????????????????????
????-p?????????POST????????????
????-P??????????????BASIC??????Ρ?????????????????:?????????base64???????????????????????????(???? ???????401??????????)??????????????????
????-T POST??????????Content-type??????header?????
????-v??????????????????-4?????????????????3????????????????????(404??200??)??2???????????????????????????
????-V????汾????????
????-w??HTML??????????????????????????????????п????????
????-i???HEAD??????????GET??
????-x????<table>????????????
????-X???????????????????
????-y????<tr>????????????
????-z????<td>????????????
????-C???????????Cookie:?С???????????name=value??????????????????????????
????-H??????????????????????????????????????Ч???????У????а???????e???????κ?????(?磬"Accept-Encoding:zip/zop;8bit")??
????-A?????????BASIC??????Ρ?????????????????:?????????base64???????????????????????????(???????????401??????????)??????????????????
????-h?????÷?????
????-d?????"percentage served within XX [ms] table"?????(??????汾?????)??
????-e???????????????(CSV)????????а????????????????????????????(??1%??)??????????(????????λ)????????????????“???????”???????'gnuplot'????????á?
????-g?????в?????д?????'gnuplot'????TSV(??Tab????)?????????????????????Gnuplot??IDL??Mathematica??Igor????Excel?С????е??????????
????-i???HEAD??????????GET??
????-k????HTTP KeepAlive????????????HTTP??????ж??????????????????KeepAlive?????
????-q??????????????????150??ab???????10%????100?????????????stderr?????????????????-q????????????Щ?????