[ 
https://issues.apache.org/jira/browse/STORM-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938846#comment-14938846
 ] 

ASF GitHub Bot commented on STORM-1057:
---------------------------------------

Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/753#discussion_r40850076
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/executor.clj ---
    @@ -570,7 +575,11 @@
                                                              (tasks-fn 
out-stream-id values))
                                                  rooted? (and message-id 
has-ackers?)
                                                  root-id (if rooted? 
(MessageId/generateId rand))
    -                                             out-ids (fast-list-for [t 
out-tasks] (if rooted? (MessageId/generateId rand)))]
    +                                             out-ids (fast-list-for [t 
out-tasks] (if rooted? (MessageId/generateId rand)))
    +                                             sampler? (sampler)]
    +                                         (when sampler?
    +                                           (.notify rate-tracker (count 
out-tasks))
    --- End diff --
    
    Wait I just thought about this again.  How in the world can we get an 
accurate rate if we are only counting a subset of the tuples?  Wouldn't we also 
have to increase the rate proportionally to the sampling rate?


> Add throughput metric to spout/bolt and display them on web ui
> --------------------------------------------------------------
>
>                 Key: STORM-1057
>                 URL: https://issues.apache.org/jira/browse/STORM-1057
>             Project: Apache Storm
>          Issue Type: New Feature
>          Components: storm-core
>            Reporter: Li Wang
>            Assignee: Li Wang
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Throughput is a fundamental metric to reasoning about the performance 
> bottleneck of a topology. Displaying the throughputs of components and tasks 
> on the web ui could greatly facilitate the user identifying the performance 
> bottleneck and checking whether the the workload among components and tasks 
> are balanced. 
> What to do:
> 1. Measure the throughput of each spout/bolt.
> 2. Display the throughput metrics on web UI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to