~/talk

Cats Retry 101

Talkat ScalaIO 2019 · 2019-10-29..10-31· [typescript]
links:none on file
slides:none on file

Cats Retry is a micro‑library that encodes concrete retry policies as types and composes them with join/meets composition, providing built‑in policies like constant, Fibonacci and exponential backoff and a sleep typeclass so tests can fast‑forward time. It exposes pure and effectful retrying functions with an onFailure hook, passes policies implicitly, and targets Cats Effect IO (Monix and ZIO work are in progress). Example given: wrap an IO HTTP request, set maxRetries = 2, and observe retries and delays happening as specified.

AI-written summary · about

  1. 0:00Start
  2. 1:01What's retrying?
  3. 1:51Cats retry policies
  4. 2:47Policy combinator: Join
  5. 5:36Sleep typeclass
  6. 10:31Syntactic sugar
  7. 12:08Composing
  8. 14:34Service mesh
~/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.