Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Step off retries #87

Open
nextmat opened this issue Oct 30, 2013 · 1 comment
Open

Step off retries #87

nextmat opened this issue Oct 30, 2013 · 1 comment

Comments

@nextmat
Copy link
Contributor

nextmat commented Oct 30, 2013

We should improve our current retry logic to delay in a gradual step-off pattern, something along the lines of:

https://github.com/eric/metriksd/blob/master/lib/metriksd/librato_metrics_reporter.rb#L56-L69

@findchris
Copy link

👍 Definitely a good idea for resilience.
While we are looking at this bit of code, I'd like to see this persistence logic be able to flush asynchronously, either in a thread or, if using EventMachine, using EM.next_tick.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants