|
Posted by surfivor on 03/16/07 00:59
I understand that memcached can store objects on different servers
using hashing, and I've seen typical things such as storing query
results.
Say at line 100 in module 'A', I want to render some content so I
check the memcache. If previously I had rendered this from this same
line of code and it's in the cache, then I use that. However, what if
module B changed one of the records on the database and that was in
the cache ? It must be up to me to have a scheme worked out that I
will delete the object from the cache that is referenced from module A
because I changed the database.
Navigation:
[Reply to this message]
|