gojek / weaver

An Advanced HTTP Reverse Proxy with Dynamic Sharding Strategies
Apache License 2.0
597 stars 53 forks source link

Circuit breaking at Weaver #21

Open rShetty opened 5 years ago

rShetty commented 5 years ago
kartik7153 commented 5 years ago

Why do we need a circuit breaker here? It's a proxy right. What fallbacks you will be implementing for this?

rShetty commented 5 years ago

@rShetty This has not been well thought yet, but we would need a way to actively check for failures from downstreams and fallback to a user configured standard fallbacks. Needs analysis, more on how it is done in Envoy here: https://www.envoyproxy.io/learn/circuit-breaking