You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will be awesome if resty has a built-in circuit breaker that can be enabled.
This feature protects from too many open files and much more accidents.
Hi @jeevatkm,
If it's ok I'd like to take a shot at implementing this.
I was thinking about having the breaker at the client level, and count errors around the client.execute() calls.
Still debating if the CB should only count http.Do errors (i.e counting remote server issues only) or all errors (which include resty internal or middleware errors).
It will be awesome if resty has a built-in circuit breaker that can be enabled.
This feature protects from too many open files and much more accidents.
Reference: https://github.com/eapache/go-resiliency
The text was updated successfully, but these errors were encountered: