Re: Behavior of Memcached Client during Replication Process

2012-10-18 Thread Henrik Schröder
No, you will have to configure two client instances and read the key from both servers in your application. However, sometimes you will get a cache miss from one server and a cache hit from the other server. And you have no way of knowing if that happened because a value was written to one server,

Re: Is the term Replication and clustering are different with respect to 2 instances of Memcache for the same application .

2012-10-18 Thread Kiran Kumar
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("

Re: distributing load between Memcache Servers

2012-10-18 Thread Roberto Spadim
loadbalancer help reducing memory use (tcp connections) and network use (ethernet band) using repcache you should balance 50%/50% connections to allow lowest tcp memory use in memcached you should use the best loadbalance you want (i prefer the fastest ethernet link - lower latency) since only one

Re: Questions about memcached in general and failover

2012-10-18 Thread Roberto Spadim
there´s another solution, but i don't remember the name, redis could do the job (i think) 2012/10/16 Les Mikesell > On Tue, Oct 16, 2012 at 11:22 AM, Kiran Kumar wrote: > > > > Memcache doesn't automatically comes with Replication facility (High > > Avialibility) , i recomend you to use Repcach

Re: Behavior of Memcached Client during Replication Process

2012-10-18 Thread Roberto Spadim
guy, why you don't study the source code? you sent a lot of messages with the same querstion! i will add your contact to spam with more messages like that read the wiki, read the source, understand the app, and stop asking the same message 100 times 2012/10/17 Kiran Kumar > Hi , > > We are usin