
ALT Cover slide on a warm cream background. Top left: the ClairLabs logo, an orange C around a small 2-by-2 grid on a navy rounded tile, with "ClairLabs presents". Big title: "Resilience." with an orange dot. Subtitle: "One layer around every outside call." Below it: "Timeouts, gentle retries with jitter and a circuit breaker, for every call to the outside world." The lower half shows nested rounded layers, from outside in: withRetry (navy), withBreaker (orange), withTimeout (light peach), and at the centre "fetch(request)". A small "swipe →" hint sits on the right.

ALT One-page overview titled "Resilience." with the ClairLabs logo and the line "One layer around every outside call: HTTP APIs, payments, email and the database." A strip shows business code calling a dashed Fetcher slot, filled by withRetry(withBreaker(withTimeout(fetch))). Panel 1, Timeout: a bar for each attempt ending at a time limit, and a row of attempts ending at a deadline flag for the whole call. Panel 2, Retry with backoff and jitter: try 1 and try 2 fail (red crosses) and try 3 succeeds (green tick). The waits fall inside shaded windows of up to e.g. 200 ms and then up to e.g. 400 ms. Caption: "full jitter: a random wait inside each window." Panel 3, Circuit breaker, "Rest, then check.": a state machine with Closed, Open and Half-open. Notes: with a key-value store, every server shares one state, written only when it changes; without the store, each server keeps its own.

ALT Slide 3 of 4, "Circuit breaker: Rest, then check." A state machine diagram with three circles. A start arrow points into Closed (green, "calls flow"). A loop on Closed: "failure < threshold / count". Closed to Open: "failures ≥ threshold / start cool-down". Open (red, "fail fast") has its own loop: "call / fail fast, no network". Open to Half-open (yellow, "one probe"): "cool-down elapsed". Half-open back to Closed: "probe ok / reset". Half-open back to Open: "probe fails / restart cool-down".

ALT Slide 4 of 4, "The idea, as in Go: Plug it in once. Every call gets it." The text reads: "In Go, the HTTP client has a Transport slot and calls whatever you plug in. Here Fetcher is that slot: the app plugs in one resilient transport, and business code just calls it." Diagram: a box "Business code calls fetch(request)" points down into a dashed slot labelled "Fetcher = (Request) -> Response". Inside the slot are nested layers: withRetry ("try again, gently"), withBreaker ("rest, then check"), withTimeout ("every wait has an end"), and at the centre fetch ("the real network call"). Caption: "one transport, plugged in once". Below: "Assembled as withRetry(withBreaker(withTimeout(fetch)))".







