On Mar 6, 2008, at 16:53, Dave Peckham wrote:
It's not so much that the distinction is confusing--I immediately saw
the KetamaNodeLocator class when I first glanced at the API. What *is*
confusing is that the API offers no hints about how to set the type of
NodeLocator to use. So, I assumed that using the hash also switches
internally the factory to use the KetamaNodeLocator
Right. I've not made it easy to set up what may end up being a
fairly common configuration. I intend to fix that before too long by
simply supplying a few factories.
Regardless, your post inspired me to keep experimenting and I figured
out the following code which does produce only 10% cache disruption,
which is exactly what I initially hoped for.
Great. You had me worried for a bit. :)
--
Dustin Sallings