mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
weighted scheduling methods constants for ipvs
Signed-off-by: Jakub Drahos <jack.drahos@gmail.com>
This commit is contained in:
parent
141b53c77a
commit
4d1db69bcc
1 changed files with 11 additions and 0 deletions
|
@ -144,6 +144,17 @@ const (
|
|||
// a statically assigned hash table by their source IP
|
||||
// addresses.
|
||||
SourceHashing = "sh"
|
||||
|
||||
// WeightedRoundRobin assigns jobs to real servers proportionally
|
||||
// to there real servers' weight. Servers with higher weights
|
||||
// receive new jobs first and get more jobs than servers
|
||||
// with lower weights. Servers with equal weights get
|
||||
// an equal distribution of new jobs
|
||||
WeightedRoundRobin = "wrr"
|
||||
|
||||
// WeightedLeastConnection assigns more jobs to servers
|
||||
// with fewer jobs and relative to the real servers' weight
|
||||
WeightedLeastConnection = "wlc"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Reference in a new issue