-
Notifications
You must be signed in to change notification settings - Fork 1
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
I'm pretty sure this is supposed to be exponential #4
Comments
@wparad Thanks, I'll take a look. |
fwiw, I spent a really long time on not finding any good documented cases on how this works, so it might be valuable to actually run a state machine with the exact configuration to see what the times end up being. |
Good idea, I'll create some tests with results to see. |
The logic should be like: |
I just spent more time than I'd like to matching up math to actual results in a Step Function that failed a few times and here is the logic that I came up with:
I validate that it matches results where:
Which yields this result:
|
@JesterXL I forked the repo and attempted to make this change but I don't know enough Elm to do it quickly. Would love to help get this calculator working though. It's really the only thing I've found via Google that can do this sort of calculation (even if it's a bit off right now). |
But here is it multiplicative. Reason and experimentation suggests the formula for the Nth time is:
But we would expect for the 4 attempts to be
See similar here: https://exponentialbackoffcalculator.com/
The text was updated successfully, but these errors were encountered: