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

@ -64,9 +64,9 @@ cache_pick_policy
Set the policy to select next proxy address from the query result.
The key for rendezvous/jump hash is *<client-ip>*.
The key for ketama/rendezvous/jump hash is *<client-ip>*.
**default**: rendezvous
**default**: ketama
query_peer_addr
---------------