On Mar 6, 2008, at 13:26, Dave Peckham wrote:
Same (bad) results. I have uploaded the test project to http://s3.amazonaws.com/00WYH5EB2EB0ECC08PG2-spyketamatest/spyketamatest.tgz First I start my memcache instances (test is somewhat hard-coded to these ports, but easily modifiable):
Oh, I just looked at your code... it's not using a consistent hash locator, just the compatible hash algorithm.
This is a confusing distinction. Basically, you need your connection factory to return a net.spy.memcached.KetamaNodeLocator as the locator. The hash algorithm is independent of that.
I intend to package up a few connection factories at some point just to make it easier to get to common recipes.
-- Dustin Sallings
