Back to problems

Circuit Breaker Based Database Replica Routing

Algorithm · Databricks · Medium

Read Request Router with Circuit Breakers Medium · Topics · Company Tags · Hints A read-serving cluster contains three database nodes: primary, replica1, and replica2. Each node has an independent circuit breaker that starts in the CLOSED state and maintains a consecutive failure count for that node. A successful call resets the node's consecutive failure count to 0. A failed call increases that count by 1. Once the count reaches 2, the breaker moves from CLOSED to OPEN.…

Checking your access…