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

Roshan Naik commented on STORM-1539:
------------------------------------

The attached profiler info related to the amount of time taken by ~45k 
invocations each of  Spout.nextTuple() and  Bolt.execute()  suggests a perf 
boost of:

*Spout.nextTuple() :*   6953ms -> 5396ms  =  *~30%* improvement
*Bolt.execute() :*         5313ms -> 3687ms =   *~ 44%* improvement

> Improve Storm ACK-ing performance
> ---------------------------------
>
>                 Key: STORM-1539
>                 URL: https://issues.apache.org/jira/browse/STORM-1539
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Roshan Naik
>            Assignee: Roshan Naik
>         Attachments: after.png, before.png
>
>
> Profiling a simple speed of light topology, shows that a good chunk of time 
> of the SpoutOutputCollector.emit() is spent  in the clojure reduce()  
> function.. which is part of the ACK-ing logic. 
> Re-implementing this reduce() logic in java gives a big performance boost in  
> both in the Spout.nextTuple() and  Bolt.execute()



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

Reply via email to