You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Default impl of retrying 5 times with an exponential backoff of 100 milliseconds
While the default works great, it'd be awesome to understand why those settings were chosen. Since I don't have experience using DynamoDB with heavy load, I don't know if five retries is a lot or not.
Also I'm rusty (no pun intended) on exponential backoff but the default seems massive for how long a request could wait to retry. While I poked around the source of again I am still not super clear on how it behaves. Perhaps some examples in either that repo or this one of what the backoff does, similar to this but with correct delay numbers 😉 :
Retryable error happens
Wait 100ms and resend request
Retryable error happens again
Wait 1,000 ms and resend request
Retryable error happens again
Wait 1,000,000 ms and resend request
The text was updated successfully, but these errors were encountered:
💡 Feature description
https://docs.rs/dynomite/0.10.0/dynomite/retry/enum.Policy.html describes the default retry policy:
While the default works great, it'd be awesome to understand why those settings were chosen. Since I don't have experience using DynamoDB with heavy load, I don't know if five retries is a lot or not.
Also I'm rusty (no pun intended) on exponential backoff but the default seems massive for how long a request could wait to retry. While I poked around the source of again I am still not super clear on how it behaves. Perhaps some examples in either that repo or this one of what the backoff does, similar to this but with correct delay numbers 😉 :
The text was updated successfully, but these errors were encountered: