Why not let the fs handle this ??

Robin Bowes robin-lists at robinbowes.com
Sun Jun 11 09:53:52 UTC 2006


Simon Forman wrote:
> On 6/10/06, Robin Bowes <robin-lists at robinbowes.com> wrote:
>> Evan Martin wrote:
>> > If you use memcached like it's intended, updates to the backend clear
>> > the cache so your cache will never be out of date.
>>
>> Evan,
>>
>> What did you mean by this?
>>
>> I'm just getting started with memcached and need ensure that my cache is
>> not out of date.
> 
> He means that if your backend data changes (after being cached) your
> app must flush or update any affected keys in the cache.  If it
> doesn't your clients will get the old invalid data.

Ah, I see. I thought I was missing some awesome "telepathy" feature! :)

Are there any guides/best practises on how to do this?

R.



More information about the memcached mailing list