diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-10-09 19:28:07 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-10-09 19:28:07 -0600 |
commit | bcbe1c220de99146a13bcc786ec7f5017681de73 (patch) | |
tree | 0d61a7327018a39294e8346d1751f2bd3ffd8674 /pkg/caddyscript/lib/time.go | |
parent | a53b27c62e792e09380876db916289c77f2ae2e0 (diff) |
reverse_proxy: Add local circuit breaker
This migrates a feature that was previously reserved for enterprise
users, according to https://github.com/caddyserver/caddy/issues/2786.
The local circuit breaker is a simple metrics counter that can cause
the reverse proxy to consider a backend unhealthy before it actually
goes offline, by measuring recent latencies over a sliding window.
Credit to Danny Navarro
Diffstat (limited to 'pkg/caddyscript/lib/time.go')
0 files changed, 0 insertions, 0 deletions