mediachain / oldchain-client

[DEPRECATED] old mediachain client experiments
MIT License
4 stars 2 forks source link

use backoff / retry for dynamo put & get #6

Closed yusefnapora closed 8 years ago

yusefnapora commented 8 years ago

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.

vyzo commented 8 years ago

:+1: