This is a calculator for the retriable Ruby gem. Retriable is a simple DSL to retry failed code blocks with randomized exponential backoff time intervals. This is especially useful when interacting external APIs, remote services, or file system calls.

Retriable.retriable(tries: 10, base_interval: 0.5, multiplier: 1.5, rand_factor: 0.5) do
  # code here...
end
Retry #MinAverageMax
10.2500.5000.750
20.3750.7501.125
30.5631.1251.688
40.8441.6882.531
51.2662.5313.797
61.8983.7975.695
72.8485.6958.543
84.2718.54312.814
96.40712.81419.222
10stopstopstop