DISQUS

Homo-Adminus Blog: Dog-pile Effect and How to Avoid it with Ruby on Rails memcache-client Patch

  • Chris · 1 year ago
    If you're using the cache_fu Rails plugin, you can use reset_cache instead of expire_cache to avoid the 'dog-pile' effect.
  • Scoundrel · 1 year ago
    2Chris: Of course, but what if your data has expired because it was too old?
  • Noob · 1 year ago
    You can do this easily without doubling every lookup (and without using more memcached space):

    http://www.socialtext.net/memcached/index.cgi?f...
  • Johny · 10 months ago
    not sure how that would work ... or how it will fit in
  • Guillermo Álvarez · 1 year ago
    For some sites that i admin, and for some zones of it, I usually update the cache just for localhost. All the content coming from "!local_request?" show cache. Then in a simple crontab on the same machine will wget some urls to update cache. I know it is very monkey, but it run nice.
  • Replica handbags · 11 months ago
    This is one of very few blogs that was worth the read, a great insight. Your website is very nicely designed, I have already bookmarked it. Thank you.
  • BSC · 10 months ago
    Thanks for the explanation
  • kuru · 9 months ago
    the information you find here is just amazing. keep it up man
  • David · 9 months ago
    its a geek club, welcome in :D
  • Kitty tattoo · 9 months ago
    Thanks for the explanation
  • for you health · 9 months ago
    nice article! nice site. you're in my rss feed now ;-)
    keep it up