Hystrix – managing failures in distributed systems
summary
Live demos show Hystrix wrapping network calls into a default 1s timeout with a per-command thread pool with a bounded queue (defaults: 10 threads), exposing real-time JSON metrics and a JavaScript dashboard. Circuit breaker trips when more than 50% failures over a 10s window and ≥20 requests, opens for ~5s then sends a single half‑open probe. Benchmarks with Apache AB demonstrate “fail fast” behavior (massively lower latency when circuit opens). Also covered: simple request caching and collapsing with a 100ms window up to 500 batch size.
AI-written summary · about
