You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by cph6 <gi...@git.apache.org> on 2017/07/26 04:54:43 UTC

[GitHub] beam pull request #3644: [BEAM-2556] Add client-side throttling.

GitHub user cph6 opened a pull request:

    https://github.com/apache/beam/pull/3644

    [BEAM-2556] Add client-side throttling.

    The approach used is as described in
    https://landing.google.com/sre/book/chapters/handling-overload.html#client-side-throttling-a7sYUg
    . By backing off individual workers in response to high error rates, we relieve
    pressure on the Datastore service, increasing the chance that the workload can
    complete successfully. This matches the implementation in the Java SDK.
    
    Also fix the timekeeping of the dynamic batching (seconds vs milliseconds).
    
    R: @vikkyrk

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cph6/beam datastore_adaptive_py

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3644.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3644
    
----
commit 0b0d90cb45d0dd94e9bdab5f2ae41f5458019883
Author: Colin Phipps <fi...@google.com>
Date:   2017-07-24T21:01:09Z

    Add client-side throttling.
    
    The approach used is as described in
    https://landing.google.com/sre/book/chapters/handling-overload.html#client-side-throttling-a7sYUg
    . By backing off individual workers in response to high error rates, we relieve
    pressure on the Datastore service, increasing the chance that the workload can
    complete successfully. This matches the implementation in the Java SDK.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] beam pull request #3644: [BEAM-2556] Add client-side throttling.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/3644


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---