私が取り組んでいる Web サイトのさまざまなベンチマーク ツールを試してみたところ、Apache Bench
(ab) が負荷テスト用の優れたツールであることがわかりました。これはコマンド ライン ツールであり、非常に使いやすいようです。ただし、その基本的なフラグの 2 つについては疑問があります。私が読んでいたサイトには次のように書かれています。
Suppose we want to see how fast Yahoo can handle 100 requests, with a maximum of 10 requests running concurrently:
ab -n 100 -c 10 http://www.yahoo.com/
フラグの説明には次のように記載されています。
Usage: ab [options] [http[s]://]hostname[:port]/path
Options are:
-n requests Number of requests to perform
-c concurrency Number of multiple requests to make
私は頭を包み込むことができないと思いnumber of requests to perform
ますnumber of multiple requests to make
. 上記の例のように両方を一緒に渡すとどうなりますか?
これら2つのフラグが一緒に何をするかについて、もっと簡単に説明できる人はいますか?