1 - Ensure you are using a hashing algoritm that allows for adding
members to the pool without flushing the entire cache due to the
change in distribution of the keys. Ketama is one that supports this,
you will just loose cache of the % of servers you are adding.
2 - Change your config on the clients to add the new memcache servers.
To test 1, I recommend setting up a testing client with the old list
of mc servers. Use the client to set 100 keys "testN". Change
configuration to add the two new servers. Use the new client to see
how many of the 100 keys "testN" are still present. Cache misses
should be ~16% in your case (adding 2 servers to a pool of 10)
--
Guille -ℬḭṩḩø- <bish...@gmail.com>
:wq