>
> If there are updates, why not either insert a new value, or just do
> a direct invalidation?


I'm thinking of situations where the regeration of a cache would be very db
intensive.

For instance, suppose I have voting for comments, and users can filter by
votes (like digg/youtube/slashdot).  I set a memcache list for every
filter.  However when there are changes to a particular comment's vote
score, the list would be invalidated.  Imagine if there is a lot of voting
going on, it would mean the filter lists are constantly being reloaded by
the database?

Reply via email to