Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-2556] Add client-side throttling. #3507

Closed
wants to merge 1 commit into from

Conversation

cph6
Copy link
Contributor

@cph6 cph6 commented Jul 6, 2017

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.

The exported cumulativeThrottledSeconds could also be used as an autoscaling
signal in future.

R: @vikkyrk
R: @ssisk

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.

The exported cumulativeThrottledSeconds could also be used as an autoscaling
signal in future.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 70.854% when pulling 065b90f on cph6:datastore_adaptive into bf6dda3 on apache:master.

@vikkyrk
Copy link
Contributor

vikkyrk commented Jul 11, 2017

I am fine with exposing a few useful metrics. LGTM

R: @lukecwik for merging.

@asfgit asfgit closed this in a22f1a0 Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants