This adds a backoff / retry helper to the dynamo client. It will attempt to retry up to 4 times, backing off exponentially. So far I haven't hit the failure path when testing, so I'd like to test some more before merging this in. Also, it's probably a good idea to add some random 'jitter' to the delay, so we can spin up a bunch of processes without them all retrying at once.
This adds a backoff / retry helper to the dynamo client. It will attempt to retry up to 4 times, backing off exponentially. So far I haven't hit the failure path when testing, so I'd like to test some more before merging this in. Also, it's probably a good idea to add some random 'jitter' to the delay, so we can spin up a bunch of processes without them all retrying at once.