summaryrefslogtreecommitdiff
path: root/proxy_ring_hash.c
Commit message (Collapse)AuthorAgeFilesLines
* fix the hashstring size for evcache ketamaPrudhviraj K2022-07-241-0/+3
| | | | add proxy_debug flag for protocol handler in verbose printing
* proxy: add ring_hash builtindormando2022-02-241-0/+366
this is ketama-based, with options for minor compat changes with major libraries. does _not_ support weights. The weights bits in the original ketama broke the algorithm, as changing the number of points would shift unrelated servers when the list changes. this also changes backends to take a "name" specifically, instead of an "ip address". Though note if supplying a hostname instead of an IP there might be inline DNS lookups on reconnects.