Indicated to use the com.twitter.finagle.mux.ThresholdFailureDetector
configured with these values when creating a new detector.
The default windowSize and threshold are chosen from examining a
representative ping distribution in a Twitter data center. With long tail
distribution, we want a reasonably large window size to capture long RTTs
in the history. A small threshold makes the detection sensitive to potential
failures. There can be a low rate of false positive, which is fine in most
production cases with cluster redundancy.
Indicated to use the com.twitter.finagle.mux.ThresholdFailureDetector configured with these values when creating a new detector.
The default
windowSize
andthreshold
are chosen from examining a representative ping distribution in a Twitter data center. With long tail distribution, we want a reasonably large window size to capture long RTTs in the history. A small threshold makes the detection sensitive to potential failures. There can be a low rate of false positive, which is fine in most production cases with cluster redundancy.