Circuit Breaker Gateway
Databricks interview questions · Hard · Coding round · 6 tests
Simulate a gateway that prefers a primary backend, falls back to a secondary, and opens or resets per-server circuit breakers.
The full question, tests and reference solution are available with a plan that includes Databricks.
Run your code with Ctrl+Enter to see results.