~/talk

Retrying the retry design

slides:none on file

Reimplements retry policies as a pure LazyList[FiniteDuration] instead of effectful RetryPolicy, showing a concrete Fibonacci backoff starting at 5ms, growing to 700ms, with each delay capped and a cumulative timeout of 5s. Rewrites Cats- and cats-retry-style code with two small changes to consume the LazyList, adds unit tests using Cat-Effect TestControl that run in ~38ms, and demonstrates the design simplifies testing and composes like ordinary collections.

AI-written summary · about

  1. 0:00Retry design challenges
  2. 1:25Side-effect heavy retry APIs
  3. 3:09Immutable values and functions
  4. 4:38Testing complex retry strategy
  5. 7:31Testing side-effect APIs
  6. 9:15Signal versus noise in tests
  7. 12:47Separating retry concerns
  8. 13:50Ideal retry test design
  9. 15:14Redesigning retry policies
  10. 17:18Fibonacci backoff refactor
  11. 18:01Cumulative delay limits
  12. 18:43Where did the complexity go?
  13. 20:49Testing and API improvements
  14. 21:11Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.