为什么“成功交易” +“失败交易”!=“交易”

时间:2019-10-21 15:48:51

标签: siege

使用围攻负载测试工具,它将大量事务发送到服务器。

输出通常类似于:

** SIEGE 4.0.4
** Preparing 1 concurrent users for battle.
The server is now under siege...
Transactions:                 10 hits
Availability:             100.00 %
Elapsed time:              14.31 secs
Data transferred:           0.09 MB
Response time:              1.43 secs
Transaction rate:           0.70 trans/sec
Throughput:             0.01 MB/sec
Concurrency:                1.00
Successful transactions:          10
Failed transactions:               0
Longest transaction:            4.54
Shortest transaction:           0.00

有时在测试中,我看到成功事务的数量加上失败事务的数量不等于事务总数(例如1000个事务,992个成功,4个失败)。有时总金额较低,有时总金额较高(例如1000次交易,998次成功,4次失败)。这是什么意思?这些不成功和不失败的交易发生了什么?

0 个答案:

没有答案