Design a circuit breaker library for a platform with 800+ microservices and 50K circuit instances that detects failures within a 10-second rolling window and transitions states in under 1ms.
## Problem
Design a circuit breaker system (library or sidecar) for a microservices platform with 800+ services. The system must detect downstream failures using error rate and latency thresholds within a rolling window, manage closed/open/half-open state transitions, provide configurable fallback strategies, and use bulkhead isolation to prevent cascading failures across the platform.
Sign up to access the full problem
Design canvas, rubric, hints, and model solutions.