I have 3 Memcached balanced Servers running for the Application .

I googled and found out that , using hashkey , its possible to locate a key 
from any of the server 

I am using KetamaMemcachedSessionLocator set up with my code .


I tried this way , but i am not sure if its correct or not .

int mod = MemcachedClient.getAvailableServers().size(); // This value is 3 

int keyid = key.hashCode();


COuld anybody please tell me how can i locate first , Second Server  with 
this approach ??

Reply via email to