• Poul-Henning Kamp's avatar
    Make the random/hash/client director use a stable hash. · 0352ea25
    Poul-Henning Kamp authored
    If the chosen backend is sick or fails to give us a connection,
    we rescale the keys position in the backends window onto the
    all the remaining backends.
    
    The upside of this is that we get a stable and predicatable
    hash distribution.
    
    The downside of this is that you are very unlikely to spot the
    healthy .weight=1 backend between two .weight=100 sick ones before
    your retries run out.
    
    Inspired by: patch from WaveCDN
    0352ea25
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
hash Loading commit data...
mgt Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
default.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...