On May 6, 2008, at 11:28, Yael Goldberg wrote:

I changed the save_path for all 6 servers to be just one server (to test): session.save_path = "tcp://192.168.100.180:11211" but now I am getting an error “session_destroy() [function.session-destroy]: Session object destruction failed in …”

This is specific to some tools you're using with which I'm not familiar. Your approach is good, though. If you can't make it work on one server, it's not going to work on more than one. :)

What does this mean: consistent node distribution mechanism

Often called, ``consistent hashing,'' it's a mechanism by which you can have a list of items and a selection function that is likely (within a reasonable degree of probability) to return the same item when your list changes size.

A common mechanism of selecting a node is to do a hash modulus the number of nodes which is almost guaranteed to not give you the same node after a resize.

Testing with one server as you're doing above is definitely the right thing to do in the meantime. In general, you'll need to ensure the server lists are the same on all memcached clients to get the correct results.

--
Dustin Sallings

Reply via email to