We have several MC instances that are under a HA-Linux setup, where if we lose one machine, another active machine takes both IPs, so we only lose 1/nth of the total pool until the machine comes back up again. Consistant hashing still works across the whole pool and the hit is very small in a 10+ server pool.

- Steve

On Tue, 20 Oct 2009, Henrik Schröder wrote:

Date: Tue, 20 Oct 2009 14:13:23 +0200
From: Henrik Schröder <skro...@gmail.com>
Reply-To: memcached@googlegroups.com
To: memcached@googlegroups.com
Subject: Re: memcached failover solution?

All memcached clients handle the distribution of items between servers, you
just need to tell it which machines are in the pool, and never worry about
where specific items end up. Normally you really shouldn't worry about that
sort of thing. Good memcached clients offer you ways to choose failover
behaviour and server distribution behaviour and connection pooling.


/Henrik

On Tue, Oct 20, 2009 at 02:24, István <lecc...@gmail.com> wrote:

well this is a bit like mixing together couple of things, i thing if you
are having multiple memcached instance you have to handle it from your app
or write a proxy what checks the memcached servers and distributes the load
and removing the dead one from the pool like load balancers do with http
servers, pretty much


On Mon, Oct 19, 2009 at 10:37 AM, Adi <adeelna...@gmail.com> wrote:


Thanks to All,

In a web farm where two memcached server is hosted separately, when
one server is down could all request served from server 2
automatically or we need to remove the dead node explicitly from the
client?

I have tested a scenario:

Key1, Data1 Cached on Server1
Key2, Data2 Cached on Server2

If Server1 dead, than data would get from database NOT from the
Server2, (The defualt behaviour should be, if Key1 not found in
Server1 OR server not respond than client should check Server2 for the
data correspond to Key1 and if not found then store that data on
Server2 so that in next request it would fetch from Server2.

As dormando said: "standby server to take over the IP of a
dead host, or make it easy to push an update to your server list."

if i update the server list manually doesn't it effect the cache?




--
the sun shines for all

http://l1xl1x.blogspot.com



--
Steve Webb - Lead System Administrator for Pronto.com
Email: sw...@pronto.com (Please send any work requests to: r...@pronto.com)
Cell: 303-564-4269, Office: 303-351-1312, YIM: scumola

Reply via email to