On Oct 7, 2009, at 10:21 AM, Nathan Nobbe wrote:
On Wed, Oct 7, 2009 at 9:21 AM, Brian Moon <[email protected]> wrote:
This has very little to do with memcached and everything to do with
your DNS infrastructure. The client that connects is what does the
DNS resolution. memcached has nothing to do with DNS.
FWIW, we avoid dns lookups at all costs for memcached because it is
just one more thing that has to happen before I can have my data.
also, fwiw, there are various ip-balancing solutions available for
*nix.
Yes, there are. There are some open source ones, and then there is
BigIP/3DNS from F5 Networks.
for 2 boxes look at heartbeat / drbd on linux. for more than that
checkout LVS
DRBD really doesnt make sense for memcached, since memcached doesnt
hit the disk.
What you really need is a way to keep the memcached memory arena
(mostly) in sync between the pair.
There is an open source patch, but it's old and has problems.
There is also a commercial solution that does it.
--
Mark Atwood <http://mark.atwood.name>