Supercache


Summary

Supercache is a totally unobtrusive addon that runs along your Rails application rapidly improving your development time by caching ActiveRecord Queries and HTTP requests (unlike ActiveRecord QueryCache which happens only within a single request). This is especially helpful when your local database is located elsewhere and avoids costly DNS lookups for each and every query. Being a collaborator i developed some of the important modules such as HTTP request cache , Rspec Integration etc. Rails Instrumentation principle is yet to be implemented in this gem.

Project Links

Learnings

The learning curve was very steep for this project.

  1. I digged deep into source code of Ruby, Honeybadger, New Relic, Sunspot to understand the HTTP request made.
  2. I overcame a problem of using Alias Method Chain Vs Prepend and about which i have described in my blog.
← Previous project