summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/push/link_test.go
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2022-04-27 10:39:22 -0600
committerGitHub <noreply@github.com>2022-04-27 10:39:22 -0600
commit40b193fb791e241dec630a37167aac576375bc96 (patch)
treebeca42bed9143a1f52a5a44e5a5dd512ab6bae1a /modules/caddyhttp/push/link_test.go
parentd543ad1ffd81e12476378fd1bfe2e8afbf562506 (diff)
reverseproxy: Improve hashing LB policies with HRW (#4724)
* reverseproxy: Improve hashing LB policies with HRW Previously, if a list of upstreams changed, hash-based LB policies would be greatly affected because the hash relied on the position of upstreams in the pool. Highest Random Weight or "rendezvous" hashing is apparently robust to pool changes. It runs in O(n) instead of O(log n), but n is very small usually. * Fix bug and update tests
Diffstat (limited to 'modules/caddyhttp/push/link_test.go')
0 files changed, 0 insertions, 0 deletions