-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[finagle-core] deprecate Backoff.equalJittered
# Problem `equalJittered` is a strange Backoff policy: - the first duration is not jittered; - it's actually exponential, but we already have `exponentialJittered` policy; - its' name - `equal` - does not tell much (to me); - scaladoc says it "keeps half of the exponential growth", it's not clear what's meant by "half": it multiplies the original `startDuration` by 2 each time, similar to `exponentialJittered` policy; - scaladoc says it has "jitter between 0 and that amount", which can be confusing, because the jitter is between the current and the next duration; - it's hard to explain where `equalJittered` should be used instead of `exponentialJittered` and vice versa, they are very similar; # Solution Remove `equalJittered`, fallback to `exponentialJittered`. JIRA Issues: STOR-8883 Differential Revision: https://phabricator.twitter.biz/D1182535
- Loading branch information
Anton Ivanov
authored and
jenkins
committed
Nov 13, 2024
1 parent
c838d2b
commit 749289a
Showing
8 changed files
with
43 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters