How to maintain cache update on different memcached servers?
Adam Michaels
adam at digitalagemedia.net
Mon Oct 30 18:08:58 UTC 2006
You have to look at memcached and mysql as 2 seperate layers. Memcache is
just one big network cache. Your memcache data would need to be in sync with
the mysql master as that is your point of your data integrity. I would look
at http://jan.kneschke.de/projects/mysql/udf/ for info on how to have the
master keep your cache in sync for you.
----- Original Message -----
From: "Daniel Beckham" <dbeckham-memcached at dealnews.com>
Cc: "Memcached list" <memcached at lists.danga.com>
Sent: Monday, October 30, 2006 9:48 AM
Subject: Re: How to maintain cache update on different memcached servers?
> There is no built-in replication in memcached. I think you have an
> incorrect notion of what memcached is meant to be.
> -Daniel
>
> howard chen wrote:
>> If I have 3 servers,
>>
>> 1 MySQL master + memcached
>> 1 MySQL slave + memcached
>> 1 MySQL slave + memcached
>>
>> suppose data is being updated on the master, the 2 slaves will get the
>> update thru replication, but how the memcached on the slaves to get
>> the updates also?
>
>
More information about the memcached
mailing list