A circuit breaker modeled as an explicit state machine, with thresholds, timeouts, the half-open probe, and how to combine it with retries and jittered backoff. Implemented in TypeScript and Go.
cleancoder.dev
Software engineering notes on architecture, distributed systems, and the craft of writing code others can maintain.
- Website
- cleancoder.dev · all feeds from this site
- Feed URL
https://cleancoder.dev/rss.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
The circuit breaker is a state machine
-
Idempotency in payment APIs
Idempotency keys for POST /charges: retries, duplicates, stored responses, the in-flight lock, the TTL, and which status code to return in each case.
-
Testing the domain and use cases without mocks
In-memory fakes instead of mocks, tests that check state instead of calls, contracts shared between adapters, and the shape of the test pyramid in Clean Architecture.