Repository navigation
Resilience depth
Everything from v1.0's seven scenarios, plus deeper failure handling.
Circuit breaker
- New Circuit breaker scenario (#8): users → breaker → flaky catalog → postgres.
- Breaker trips OPEN past an error-rate threshold, fast-fails with 503, goes half-open after a cooldown, and closes once its probes succeed.
Link downtoggle + flakiness + trips-at / cooldown / probe-limit knobs.- Inspector Trip / Reset buttons; OPEN / HALF-OPEN badges on the topology.
- Measured: link down → p95 collapses from ~4020 ms to ~20 ms; repair → "Healthy" returns automatically.
Smarter load balancing
- Power of two choices (P2C) and least-latency (response-time EMA) join round-robin, random, least-inflight and sticky.
Fixes & quality
- Health flags now recover after an outage (intermediate nodes are no longer stuck "unhealthy" forever).
- New headless engine test suite:
bun test→ 20 passing. - New
ROADMAP.md(v1.0 → v2.0); README updated for eight scenarios.
Live at https://distrlab.onrender.com