On Jun 2, 10:54 pm, vishal garg <[email protected]> wrote: > My name is vishal and was working on memcached. I am using MySQL > database and needed to know if the concept of dirty bit (as applicable > in cache of OS) has ever been implemented in memcached. My problem is > that I want to update the memcache whenever I change the user object. > And when the memcached's implicit working detects the object has to be > removed, I want to update my database.
The traditional way to do that is to update your database and either delete or replace the relevant cached items. That's very simple, as you can do it within your DB layer and requires no magic.
