[
https://issues.apache.org/jira/browse/APEXCORE-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198606#comment-15198606
]
ASF GitHub Bot commented on APEXCORE-380:
-----------------------------------------
Github user vrozov commented on the pull request:
https://github.com/apache/incubator-apex-core/pull/271#issuecomment-197652278
Another benefit of the current approach is that it is less prone to
incorrect sleep time setting. I tried setting sleep time to 100 milliseconds
and with the new approach, the throughput is not much affected, with the old
approach, the throughput drops significantly.
> Idle time sleep time should increase from 0 to a configurable max value
> -----------------------------------------------------------------------
>
> Key: APEXCORE-380
> URL: https://issues.apache.org/jira/browse/APEXCORE-380
> Project: Apache Apex Core
> Issue Type: Improvement
> Affects Versions: 3.4.0
> Reporter: Vlad Rozov
> Assignee: Vlad Rozov
> Fix For: 3.4.0
>
>
> When all active input ports of an operator are empty, the operator either
> calls idle time handler or goes into a wait. In the later case, the wait time
> should start with 0 and increase to the configured/default idle spin time to
> handle cases when there is trickle and pour stream of tuples.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)