Sets a FailureAccrualPolicy that triggers after nFailures
consecutive failures.
Sets a FailureAccrualPolicy that triggers after nFailures
consecutive failures.
The number of failures to trigger on
Sets a FailureAccrualPolicy that triggers after nFailures
consecutive failures.
Sets a FailureAccrualPolicy that triggers after nFailures
consecutive failures.
The number of failures to trigger on
The backoff that should be applied to revival attempts
Disables the Fail Fast module on this client (default: enabled).
Disables the Fail Fast module on this client (default: enabled).
The Fail Fast module is a Finagle per-session circuit breaker. It marks a host unavailable upon connection failure. The host remains dead until we successfully connect.
Usually, it's a good idea to disable Fail Fast for server sets with only one host in the load balancer's replica set.
https://twitter.github.io/finagle/guide/Clients.html#fail-fast https://twitter.github.io/finagle/guide/Clients.html#circuit-breaking FailFastFactory
Disables the Failure Accrual module on this client (default: enabled).
Disables the Failure Accrual module on this client (default: enabled).
The Failure Accrual module is a Finagle per-request circuit breaker. It marks a host unavailable depending on the used policy. The default setup for the Failure Accrual module is to use a policy based on the number of consecutive failures (default is 5) accompanied by equal jittered backoff producing durations for which a host is marked unavailable.
Sets a failure accrual policy that triggers when success rate drops under a given value by looking at a moving average over a time window.
Sets a failure accrual policy that triggers when success rate drops under a given value by looking at a moving average over a time window.
The current default policy is success rate based with a cutoff of 80% and a window of 30 seconds.
The success rate to trigger on
The time window of the moving average
The backoff that should be applied to revival attempts
Sets a failure accrual policy that triggers when success rate drops under a given value by looking at a moving average over a time window.
Sets a failure accrual policy that triggers when success rate drops under a given value by looking at a moving average over a time window.
The current default policy is success rate based with a cutoff of 80% and a window of 30 seconds.
The success rate to trigger on
The time window of the moving average
Sets a failure accrual policy that triggers when success rate drops under a given value by looking at a moving average over a time window.
Sets a failure accrual policy that triggers when success rate drops under a given value by looking at a moving average over a time window.
The current default policy is success rate based with a cutoff of 80% and a window of 30 seconds.
The success rate to trigger on
The time window of the moving average
The backoff that should be applied to revival attempts
The minimum number of requests in a window required for failure accrual to trigger
A collection of methods for configuring modules which help Finagle determine the health of a session. Some of these act as circuit breakers, instructing the load balancer to choose alternate paths. Effectively these enable your client to maintain higher success rates.
a Stack.Parameterized client to configure
https://twitter.github.io/finagle/guide/Clients.html#circuit-breaking