storm metrics
2015-09-15 15:57
141 查看
判断storm的一个topology性能如何,主要关注capacity指标。官方对此有一段描述:
The "capacity" metric is very useful and tells you what % of the time in the last 10 minutes the bolt spent executing tuples. If this value is close to 1, then the bolt is "at capacity" and is a bottleneck in your topology. The solution to at-capacity bolts is to increase the parallelism of that bolt.
以下是对这些指标的描述以及计算方式:
Capacity = Execute latency * Executed over a window / Window size
To calculate the capacity for the first executor (Id: 10-10), Capacity = 1916.9 * 200 / 595000 = 0.644
![](https://guangyuwu.files.wordpress.com/2014/10/strom-ui-for-capacity-11.png?w=676&h=536)
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)
![](https://guangyuwu.files.wordpress.com/2014/10/strom-ui-for-capacity-21.png?w=676&h=226)
The "capacity" metric is very useful and tells you what % of the time in the last 10 minutes the bolt spent executing tuples. If this value is close to 1, then the bolt is "at capacity" and is a bottleneck in your topology. The solution to at-capacity bolts is to increase the parallelism of that bolt.
以下是对这些指标的描述以及计算方式:
Capacity = Execute latency * Executed over a window / Window size
To calculate the capacity for the first executor (Id: 10-10), Capacity = 1916.9 * 200 / 595000 = 0.644
![](https://guangyuwu.files.wordpress.com/2014/10/strom-ui-for-capacity-11.png?w=676&h=536)
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)
![](https://guangyuwu.files.wordpress.com/2014/10/strom-ui-for-capacity-21.png?w=676&h=226)
相关文章推荐
- 如何清除xcode里面的mobileprovision文件
- 两个表,一个表中的两列关联另一个表的id,如何将这个表中的两列显示为另一个表id对应的内容
- java笔记——初学面向对象06
- Sql 解析XML 解决方案
- 使用_beginThreadex创建多线程(C语言版多线程)
- NetBeans的快捷键使用汇总
- nil NSNull NULL在oc中的区别
- android 格式化SD卡
- Java中各Set实现类的性能分析
- 数据库MySQL2 存储过程 事务
- 容器浅析
- linux下安装ImageMagick
- SVProgressHUD–比MBProgressHUD更好用的 iOS进度提示组件
- HDU 5444 Elven Postman(二叉查找树)
- Handler机制原理
- iOS 定位精度
- CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
- 测试面试-理论
- oracle查看表的高水位
- 最短路径问题3