You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a6730fb
Browse filesBrowse the repository at this point in the historyBrowse files
body:'The bulkhead caps concurrency so the slow phase cannot exhaust the client, and the timeout ends each operation after 2s.' },
36
-
{ when: (s) =>s.now>=5.4, spot: ['ifB'], title:'Phase 2: brownout',
34
+
{ when: (s) =>s.now>=2.4, spot: ['ifB'], title:'Phase 1: brownout',
37
35
body:'Retry recovers many of the transient errors, and the budget stops it from adding much load.' },
38
-
{ when: (s) =>s.mw.cb&&s.mw.cb.state==='OPEN', spot: ['brkB'], title:'Phase 3: hard down',
39
-
body:'Repeated failures open the breaker. It sits before the retry layer, so it rejects whole retry sequences and counts one outcome per sequence, not per attempt.' },
body:'The bulkhead caps concurrency so the slow upstream cannot exhaust the client, and the timeout ends each operation after 2s.' },
38
+
{ when: (s) =>s.mw.cb&&s.mw.cb.state==='OPEN', spot: ['brkB'], title:'Timeouts open the breaker',
39
+
body:'The breaker sits before the timeout, so each expired deadline counts as a failure. After five in a row the circuit opens, and new calls fail at once instead of waiting 2s on the slow upstream.' },
40
+
{ when: (s) =>s.now>=8.5, spot: ['brkB'], title:'Phase 3: hard down',
41
+
body:'The circuit stays open through the outage, because each half-open probe fails and reopens it. It sits before the retry layer, so it rejects whole retry sequences and counts one outcome per sequence, not per attempt.' },
40
42
{ when: (s) =>s.now>=13.5, spot: ['ifA', 'latA', 'ifB', 'latB'], title:'Full stack vs none',
41
43
body:'The plain client fails through every phase. In the httpware client, each layer handles the phase it is built for.' },
0 commit comments