High Performance Rails Caching with Redis and nginx
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 rails controller.
Bypassing the slowest component in your stack by using caching might be a good idea. But then you need to answer how you control the lifecycle of your cached data. Taking inspiration from HTTP declarative caching mechanisms could be a start.
Original title and link: High Performance Rails Caching with Redis and nginx (©myNoSQL)
via: http://over9000.org/rails/high-performance-rails-caching-with-redis-and-nginx