circuit-breaker.js
summary
A Hystrix-like JavaScript implementation called circuit-breaker-js monitors requests, tracks successes failures timeouts and short circuits and keeps a rolling 10 second window split into 10 buckets. It opens when the error percentage exceeds 50% after a minimum volume threshold of 5 commands, waits one window, lets a probe through, and either closes or stays open. Timeouts default to 3s and a fallback returns an unsorted list. Released on GitHub and used client-side.
AI-written summary · about
chapters (4)
related talks
25mFail Faster: Adding Circuit Breakers to your APIs
21mA Sense of Time for JavaScript and Node.js
06mRetries and Circuitbreakers in Takealot Microservices
29mFault Tolerance is a Requirement Not a Feature - Adar Danait, Lilian Ernest, Citi
19mDown The Rabbit Hole: Chasing bugs from the browser to the backend
25mDebugging async JS
48mLost in transaction?
15mThe JavaScript Debug Robot
