[ 
https://issues.apache.org/jira/browse/STORM-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jungtaek Lim resolved STORM-2705.
---------------------------------
       Resolution: Fixed
         Assignee: Daniel Klessing
    Fix Version/s: 1.0.5
                   1.1.2
                   1.2.0
                   2.0.0

Thanks [~sakanaou], I merged into master, 1.x, 1.1.x, 1.0.x branches.

> DRPCSpout sleeps twice when idle
> --------------------------------
>
>                 Key: STORM-2705
>                 URL: https://issues.apache.org/jira/browse/STORM-2705
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>            Reporter: Daniel Klessing
>            Assignee: Daniel Klessing
>             Fix For: 2.0.0, 1.2.0, 1.1.2, 1.0.5
>
>         Attachments: drpc_idle_overhead.png
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Profiling our topology I noticed that the {{DRPCSpout}} actually sleeps twice 
> if it has nothing to do. This is due to a {{Utils.sleep(1)}} call at the end 
> of {{nextTuple()}} while the {{SleepSpoutWaitStrategy}} performs the default 
> sleep if a spout did not emit any tuple.
> This causes - in my understanding - unnecessary context switches, especially 
> with a high number of parallelism.
> Attached the corresponding YourKit screenshot.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to