Login
Remember
Register
Ask a Question
How would you update Memcached when data changes?
0
votes
asked
Jun 16, 2022
in
MemCached
by
Robindeniel
How would you update Memcached when data changes?
memcached-update
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 16, 2022
by
Robindeniel
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.
...