On Friday, 12 October 2012 19:48:46 UTC+5:30, Kiran Kumar wrote:
>
> 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 .
>