Uber - machine coding

Anonymous User
1097
Apr 20, 2024

// Implement simple circuit breaker given a rpc method.
// please consider the generic circuit breaker options like the following:
//
// * timeWindowSec - (10s) time sliding window size.
// * failureRatioThreshhold - (50%) failure ratio threshold in which the circuit open
// * circuitCloseTimeSec - (5s) required time to circuit re-close
// * min requests - 10

// Main class should be named 'Solution' and should not be public.

Comments (6)