beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cph6 <...@git.apache.org>
Subject [GitHub] beam pull request #3644: [BEAM-2556] Add client-side throttling.
Date Wed, 26 Jul 2017 04:54:43 GMT
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 <fipsy@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.
---

Mime
View raw message