mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 07:10:51 +00:00
support ketama consistent hash
This commit is contained in:
parent
e22638d27e
commit
fb64352293
20 changed files with 249 additions and 73 deletions
|
|
@ -53,7 +53,7 @@ upstream_pick_policy
|
|||
|
||||
Set the policy to select upstream address.
|
||||
|
||||
The key for rendezvous/jump hash is *<client-ip>*.
|
||||
The key for ketama/rendezvous/jump hash is *<client-ip><server-ip>*.
|
||||
|
||||
**default**: random
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ upstream_pick_policy
|
|||
|
||||
Set the policy to select upstream address.
|
||||
|
||||
The key for rendezvous/jump hash is *<client-ip>*.
|
||||
The key for ketama/rendezvous/jump hash is *<client-ip><server-ip>*.
|
||||
|
||||
**default**: random
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue