On 25 июн, 02:56, Pau Freixes <[email protected]> wrote: > I red the source code and i think it can has problems regarded the > proportional value of weight, weight change if you add or remove some > servers or change value memory of these.
I agree, that's why we use points-per-server = server-weight * K that doesn't changes when servers are added or removed. > K is a constant ? but server weight remains variable ? In Cache::Memcached::Fast both K and server-weight may be specified by user (via "ketama_points" and "weight" parameters), and they do not change afterwards. tomash
