判断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

storm metrics

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)

storm metrics

相关文章:

  • 2021-05-16
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2021-09-19
  • 2021-07-07
猜你喜欢
  • 2022-02-07
  • 2021-12-19
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
相关资源
相似解决方案