support ketama consistent hash

This commit is contained in:
Zhang Jingqiang 2024-03-28 16:17:27 +08:00
parent e22638d27e
commit fb64352293
20 changed files with 249 additions and 73 deletions

View file

@ -45,7 +45,7 @@ proxy_addr_pick_policy
Set the policy to select next proxy address.
The key for rendezvous/jump hash is *<client-ip>[-<username>]-<upstream-host>*.
The key for ketama/rendezvous/jump hash is *<client-ip>[-<username>]-<upstream-host>*.
**default**: random