Thanks rspadim , I am very much confused , when i checked the documentation of xmemcached , which i am using currrently , it defines an example of using 3 servers , please see the below link , my question if custering is not supported what purpose thise all these servers have ??. Please check the link http://code.google.com/p/xmemcached/wiki/User_Guide#Client_distribution
On Friday, 12 October 2012 20:33:16 UTC+5:30, rspadim wrote: > > Since i know there is no cluster for memcached, cluster = syncronous > replication, repcache is assync > Em 12/10/2012 11:18, "Kiran Kumar" <krn...@gmail.com <javascript:>> > escreveu: > >> I have written a sample application as shown >> >> String location = "localhost:11211,122.34.5:11211"; >> MemcachedClientBuilder builder = new >> XMemcachedClientBuilder(AddrUtil.getAddressMap(location)); >> mcc.set("a", 0, "Hello,xmemcached"); >> >> >> Now i have memcache installed on both the IP addresses defined above . >> and i observed that if the local host server is down , data is fetched from >> the 2nd defined server . >> >> Please let me know , is there any difference between the Clustering and >> Replication here ?? >> >> *And i see a lot of buzz on using Repcached with memcached for >> replication purpose , please let me know if i am missing something >> regarding the difference between clustering and memcache ??* >> >> Being a newbie to memcache , Plese correct me if i am wrong . >> >> Thanks for reading . >> >