[ 
https://issues.apache.org/jira/browse/BEAM-690?focusedWorklogId=143513&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-143513
 ]

ASF GitHub Bot logged work on BEAM-690:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Sep/18 13:42
            Start Date: 12/Sep/18 13:42
    Worklog Time Spent: 10m 
      Work Description: janotav commented on issue #6303: [BEAM-690] Backoff in 
the DirectRunner if no work is available
URL: https://github.com/apache/beam/pull/6303#issuecomment-420652436
 
 
   I couldn't bring this any further and so I'm closing this PR.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 143513)
    Time Spent: 50m  (was: 40m)

> Backoff in the DirectRunner Monitor if no work is Available
> -----------------------------------------------------------
>
>                 Key: BEAM-690
>                 URL: https://issues.apache.org/jira/browse/BEAM-690
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-direct
>            Reporter: Thomas Groh
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When a Pipeline has no elements available to process, the Monitor Runnable 
> will be repeatedly scheduled. Given that there is no work to be done, this 
> will loop over the steps in the transform looking for timers, and prompt the 
> sources to perform additional work, even though there is no work to be done. 
> This consumes the entirety of a single core.
> Add a bounded backoff to rescheduling the monitor runnable if no work has 
> been done since it last ran. This will reduce resource consumption on 
> low-throughput Pipelines.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to