Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/295#issuecomment-60460916
  
    @caofangkun 
    It's mk-threads in executor.clj.
    
    ```
                (if (and (= curr-count (.get emitted-count)) active?)
                  (do (.increment empty-emit-streak)
                      (.emptyEmit spout-wait-strategy (.get empty-emit-streak)))
                  (.set empty-emit-streak 0)
                  ))           
    ```
    
    You can find that streak gets increased by 1, so I think it's for 
alternative implementation of ISpoutWaitStrategy, not SleepSpoutWaitStrategy.
    (@nathanmarz Could you please confirm it?)
    If it is for, just adding it to sleepMillis barely affects sleep time.
    Streak should be multiplied by 10 or something bigger, maybe we can apply 
exponential value of already multiplied streak.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to