Storm Capacity Metric

The Capacity metric is defined as:

Capacity = Execute latency * Executed over a window / Window size

In the example table below,

  • Capacity is the column in green, which measures the capacity in the last 10 minutes, named as Capacity (last 10m);
  • Execute latency is the 2nd pink column, named as Execute latency (ms);
  • Executed over a window is the 3rd pink column, named as Executed;
  • Window size is the 1st pink column, named Uptime.

To calculate the capacity for the first executor (Id: 10-10), Capacity = 1916.9 * 200 / 595000 = 0.644

Strom UI for Capacity 1

To calculate the overall measurements for all the executors in one type of bolt, use the metrics as:

Capacity = Max(executor Capacity)
Execute latency = Average(executor Execute latency)
Executed = Sum(executor Executed)

Strom UI for Capacity 2


注:这个值显示了这个bolt的空限度,这个值约大,说明这个bolt很忙,spout过来的流速太快,处理不过来了,这时就需要增加这个bolt的数量。


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值