Changing expiration

K J sanbat at gmail.com
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
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070929/f3dd9eda/attachment.html


More information about the memcached mailing list