Apologies for intervening here. I'm using memcahce-php client and there is this call called getstats() which returns stats of a server if it is up an runnig and returns false if there is something really bad happens to server. My question is while hashing the key to a particular server . Will our consistent hash function consider this failed server . I just want to know what backup plans are available if a server is down.
On Tuesday, 8 March 2011 15:01:17 UTC-5, LesMikesell wrote: > > On 3/8/2011 1:40 PM, Evil Boy 4 Life wrote: > > Thanks guys, I turned off the failover in the client... > > In fact, I didn't know that there are several .net clients and now I > > get confused, because I don't know which one is better (now I use > > memcacheddotnet) > > Do you know if one of the .net clients support replication in any way? > > Memcache isn't supposed to do replication - it's a cache that you should > be able to replenish from the real data source. What happens when one > server fails depends on the client hash mechanism. Some people want the > load to be rebalanced evenly over the remaining servers, some don't. > Either way, the next attempt to use a failed server should detect it is > down and retrieve the data from the backing DB. > > -- > Les Mikesell > [email protected] <javascript:> > > > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
