-
Notifications
You must be signed in to change notification settings - Fork 42
Exponential Backoff in V2 #422
Copy link
Copy link
Closed
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
According to the comments in the retrier, gax is supposed to be using exponential backoff which is industry best practice
gax-go/v2/call_option.go
Line 159 in fef87e6
But in the actual code it seems to be a linear backoff based on the multiplier
gax-go/v2/call_option.go
Lines 197 to 200 in fef87e6
Is this the intended approach or should it in fact use some kind of exponential calculation like in the linked blog post?