over9000 blog
what is your power level?
Browse: Home / redis

redis

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

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

using redis to track and uniquify impressions with rails

By phm on January 13, 2012

as redis has become the number one contender for memcaches throne of key-value storage engines. it deserves a closer look why so many rails developers are flocking to it. redis has a set of commands and functions that enable endless possibilities to those creative enough to use them in a new way. today i want […]

Posted in databases, rails, ruby | Tagged rails, redis | 1 Response

high performance rails caching with redis and nginx

By phm on January 13, 2012

here at rapidrabbit we deliver many 1,000 requests per second. doing this while only using a handful of servers and ruby on rails we employ very clever caching using redis and nginx. once the cache is written, it is directly accessed by nginx via a module, which makes it around 500-2,000 times faster than any […]

Posted in caching with redis, databases, linux, rails | Tagged caching, nginx, rails, redis | 9 Responses

Search

Categories

  • linux
  • javascript
  • caching with redis
  • databases
  • ruby
  • rails

Archives

  • February 2015
  • December 2014
  • September 2014
  • August 2014
  • September 2013
  • April 2013
  • February 2012
  • January 2012
  • October 2010
  • September 2010

Copyright © 2023 over9000 blog.