Open GoogleCodeExporter opened 8 years ago
The current implementation of re-hashing has the drawback that for some keys,
you won't try all memcached hosts in the circle. The fewer memcached hosts,
the bigger the impact of this limitation.
Original comment by kevin.la...@gmail.com
on 14 Sep 2010 at 12:54
Original comment by ingen...@gmail.com
on 19 Apr 2011 at 7:33
@kevin: With regard to the fewer hosts the bigger the impact, I've just
submitted a change for this that should guarantee that even in the case of two
hosts, you'd have less thank 1% chance of always getting a down node. I
believe this is the right fix.
@steve: With regard to picking the next host, I believe there are tests that
show compatibility with libketama. I will verify those a bit further and then
close this issue if in fact it's correct. Picking the "next" host is actually
easier, but if it's more correct then it'll be a bit more work to fix.
Original comment by ingen...@gmail.com
on 19 Apr 2011 at 3:03
Original issue reported on code.google.com by
steve....@gmail.com
on 3 Feb 2010 at 11:45