Google News
logo
Memcached - Interview Questions
How would you update Memcached when data changes?
There are two methods to update Memchached when data changes :

By clearing the cache proactively : You can update Memcached by clearing the cache while insertion or updation is made.

By resetting the cache : It is slightly similar to the first method, but it doesn't delete the keys and wait for the next request for the data to refresh the cache, it resets the values after the insert or update.
Advertisement