Why searches gives us a 1 in 2^7 chance of hitting? not all?
Tell me more...
code :
net.spy.memcached.KetamaNodeLocator
public Iterator<MemcachedNode> getSequence(String k) {
// Seven searches gives us a 1 in 2^7 chance of hitting the
// same dead node all of the time.
return new KetamaIterator(k, 7, getKetamaNodes(), hashAlg);
}
Original issue reported on code.google.com by runquandeng@gmail.com on 13 Mar 2013 at 10:42
Original issue reported on code.google.com by
runquandeng@gmail.com
on 13 Mar 2013 at 10:42