Skip to content

Instantly share code, notes, and snippets.

@rodolfobandeira
Forked from marcotc/sidekiq_retry_time.csv
Created September 13, 2022 14:05
Show Gist options
  • Save rodolfobandeira/2f069f2985ea330859c658fbacdbbb10 to your computer and use it in GitHub Desktop.
Save rodolfobandeira/2f069f2985ea330859c658fbacdbbb10 to your computer and use it in GitHub Desktop.
Sidekiq retry exponential backoff formula times
Retry count Retry Time Total Cumulative Time Total Cumulative Days
0 0:00:00 0:00:00 0.0
1 0:00:16 0:00:16 0.0
2 0:00:31 0:00:47 0.0
3 0:01:36 0:02:23 0.0
4 0:04:31 0:06:54 0.0
5 0:10:40 0:17:34 0.0
6 0:21:51 0:39:25 0.0
7 0:40:16 1:19:41 0.1
8 1:08:31 2:28:12 0.1
9 1:49:36 4:17:48 0.2
10 2:46:55 7:04:43 0.3
11 4:04:16 11:08:59 0.5
12 5:45:51 16:54:50 0.7
13 7:56:16 24:51:06 1.0
14 10:40:31 35:31:37 1.5
15 14:04:00 49:35:37 2.1
16 18:12:31 67:48:08 2.8
17 23:12:16 91:00:24 3.8
18 29:09:51 120:10:15 5.0
19 36:12:16 156:22:31 6.5
20 44:26:55 200:49:26 8.4
21 54:01:36 254:51:02 10.6
22 65:04:31 319:55:33 13.3
23 77:44:16 397:39:49 16.6
24 92:09:51 489:49:40 20.4
25 108:30:40 598:20:20 24.9
26 126:56:31 725:16:51 30.2
27 147:37:36 872:54:27 36.4
28 170:44:31 1043:38:58 43.5
29 196:28:16 1240:07:14 51.7
30 225:00:15 1465:07:29 61.0
31 256:32:16 1721:39:45 71.7
32 291:16:31 2012:56:16 83.9
33 329:25:36 2342:21:52 97.6
34 371:12:31 2713:34:23 113.1
35 416:50:40 3130:25:03 130.4
36 466:33:51 3596:58:54 149.9
37 520:36:16 4117:35:10 171.6
38 579:12:31 4696:47:41 195.7
39 642:37:36 5339:25:17 222.5
40 711:06:55 6050:32:12 252.1
41 784:56:16 6835:28:28 284.8
42 864:21:51 7699:50:19 320.8
43 949:40:16 8649:30:35 360.4
44 1041:08:31 9690:39:06 403.8
45 1139:04:00 10829:43:06 451.2
46 1243:44:31 12073:27:37 503.1
47 1355:28:16 13428:55:53 559.5
48 1474:33:51 14903:29:44 621.0
49 1601:20:16 16504:50:00 687.7
50 1736:06:55 18240:56:55 760.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment