Changing expiration

K J sanbat at
Sat Sep 29 07:43:56 UTC 2007

> 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

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?
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list