System decomposition · demo 27
Resilience: not going down with a partner
Before each transfer, the bank asks a fraud-detection partner. Timeout, retries, circuit breaker and bulkhead keep it from going down with the partner; a fallback decided by the business says what to do without it.
Reduced motion: the scene is paused; use "Step" or "Play".
What to watch
- Flaky: two 503 answers, absorbed by two retries (about 200 then 400 ms); the customer sees nothing.
- Slow: each attempt is cut at 1 s. Timeouts count as failures: the breaker ends up opening.
- Down: at the 5th failure in a row, the circuit opens and the partner receives no call at all; small transfers go through "unverified", large ones get a 503. Switch back to Healthy: 30 s after the opening, a single trial call closes the circuit.