Plugin/Proxy - update README (#1658)
* - adding policy first in the policies description * - fix number of policies available
This commit is contained in:
parent
e46ee9d9cc
commit
5a546f743e
1 changed files with 3 additions and 1 deletions
|
@ -60,10 +60,12 @@ proxy FROM TO... {
|
|||
|
||||
## Policies
|
||||
|
||||
There are three load-balancing policies available:
|
||||
There are four load-balancing policies available:
|
||||
* `random` (default) - Randomly select a backend
|
||||
* `least_conn` - Select the backend with the fewest active connections
|
||||
* `round_robin` - Select the backend in round-robin fashion
|
||||
* `first` - Select the first available backend looking by order of declaration from left to right
|
||||
|
||||
|
||||
All polices implement randomly spraying packets to backend hosts when *no healthy* hosts are
|
||||
available. This is to preeempt the case where the healthchecking (as a mechanism) fails.
|
||||
|
|
Loading…
Add table
Reference in a new issue