Circuit Breaker Based Database Replica Routing

Problem: Database Replica Routing with Circuit Breakers

There are three database nodes that can serve read requests: one primary node, primary, and two replicas, replica1 and replica2. Each ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: