admin管理员组文章数量:1611917
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
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)
注:这个值显示了这个bolt的空限度,这个值约大,说明这个bolt很忙,spout过来的流速太快,处理不过来了,这时就需要增加这个bolt的数量。
版权声明:本文标题:Storm Capacity Metric 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1728621860a1166456.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论