Apache Benchmark - concurrency and number of requests

后端 未结 2 1399
生来不讨喜
生来不讨喜 2021-02-04 05:25

The benchmark documentation says concurrency is how many requests are done simultaneously, while number of requests is total number of requests. What I\'m wondering is, if I put

2条回答
  •  感动是毒
    2021-02-04 05:54

    I see nothing wrong. Failed requests can increment more than one error each. That's how ab works.

    There are various statically declared buffers of fixed length. Combined with the lazy parsing of the command line arguments, the response headers from the server and other external inputs, this might bite you.

    You might notice for example that the previous node results have a similar count for 3 of the error counters. Most probably, from the 100 000 requests made only 8409 failed and not 25227.

    Receive: 8409, Length: 8409, Exceptions: 8409
    

提交回复
热议问题