【问题标题】:Why the load test values are different in siege - 3.0.8 and siege 4.0.4?为什么 siege - 3.0.8 和 siege 4.0.4 中的负载测试值不同?
【发布时间】:2019-02-11 09:40:23
【问题描述】:

我在3.0.84.0.4 两个版本中都运行了这个命令siege -c50 -d10 -t3M http://www.example.com。我得到了完全不同的结果。谁能给我一个解决方案,为什么这些版本中的值不同..?

在 4.0.4 版中

Transactions:               1033 hits
Availability:             100.00 %
Elapsed time:             179.47 secs
Data transferred:          26.31 MB
Response time:              8.45 secs
Transaction rate:           5.76 trans/sec
Throughput:             0.15 MB/sec
Concurrency:               48.63
Successful transactions:        1033
Failed transactions:               0
Longest transaction:           72.85
Shortest transaction:           3.65

在 3.0.8 版中

Transactions:           133 hits
Availability:        100.00 %
Elapsed time:        179.08 secs
Data transferred:         27.59 MB
Response time:        50.95 secs
Transaction rate:          0.74 trans/sec
Throughput:        0.15 MB/sec
Concurrency:          37.84
Successful transactions:         133
Failed transactions:              0
Longest transaction:         141.14
Shortest transaction:          8.34

谢谢。

【问题讨论】:

    标签: load-testing siege


    【解决方案1】:

    HTML 解析已添加到版本 4.0.0,默认情况下已启用。它对样式表、图像、javascript 等资源提出了额外请求。

    我们可以在 siege.conf 文件中启用/禁用此功能,方法是将 parser 的值设置为 true/false。

    Setting parser value in the siege.conf file

    【讨论】:

      猜你喜欢
      • 2014-04-24
      • 1970-01-01
      • 1970-01-01
      • 2012-11-29
      • 2017-06-24
      • 2014-06-14
      • 2015-05-13
      • 2015-08-30
      • 2017-08-20
      相关资源
      最近更新 更多