Archives by date
You are browsing the site archives by date.
periodic cache regeneration with rails redis and a spider
By phm on February 22, 2012
today i want to continue my little series about how to use redis as rails cache. i will show you how to build a caching system that does not rely on cache invalidation and is able to constantly deliver up to date cached results.
Posted in caching with redis, databases, rails | Tagged caching, rails, redis, regneration, spider | Leave a response
revealing module pattern in coffeescript
By phm on February 21, 2012
rails caching with redis – invalidation done right
By phm on February 16, 2012
in my last article about using redis as rails cache i used the redis ‘keys’ function to invalidate cache. as my readers noted, and i experienced myself, this is not a good idea if you plan on storing a few million keys in your redis-db. so today we’ll look at how to do this invalidation […]
Posted in caching with redis, databases, rails, ruby | Tagged caching, invalidation, rails, redis | 6 Responses