-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admissionControl is a load shedding filter, that works by observing b…
…ackend errors admissionControl(metricsSuffix, mode, d, windowSize, minRPS, successThreshold, maxRejectProbability, exponent) admissionControl("myapp", "active", "1s", 5, 10, 0.9, 0.95, 2.0) metricSuffix is the suffix key to expose reject counter, should be unique by filter instance mode is one of "active", "inactive", "log" windowSize is within [minWindowSize, maxWindowSize] minRPS successThreshold is within (0,1] and sets the lowest request success rate at which the filter will not reject requests. maxRejectProbability is within (0,1] and sets the upper bound of reject probability. exponent >0, 1: linear, 1/2: qudratic, .. see also https://opensource.zalando.com/skipper/reference/filters/#admissioncontrol Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
- Loading branch information
Showing
5 changed files
with
665 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.