Giving ApnaBill a 76.35% kick :)

March 14th, 2008

If Rails was not cool enough, caching is icing on the cake :D

Check this out - pulled right from the production log…

Without Caching
Completed in 0.02199 (45 reqs/sec) | Rendering: 0.02001 (90%) | DB: 0.00106 (4%) | 200 OK

With Caching
Completed in 0.00520 (192 reqs/sec) | Rendering: 0.00430 (82%) | DB: 0.00086 (16%) | 200 OK

% Kick
((0.02199 - 0.00520)*100)/0.02199 == 76.35%

Thats a whopping 76% speed increase in rendering the ApnaBill.com front page

Tools: content_cache plugin from Coda Hale. Check out other plugins he wrote

Articles: RoR caching tutorial - Part1 and Part2 from Rails Envy guys…

Posted in ApnaBill, Rails | Comments (2)

2 Responses to “Giving ApnaBill a 76.35% kick :)”

  1. José Valim Says:

    Hey,

    I was using also the content_cache plugin, then I rewrote it to be used with caches_action Rails method.

    It’s a little bit faster and since it’s integrated with Rails, it’s more complete also. Check it out here: http://code.google.com/p/action-cache-layout/

  2. Mayank Jain (makuchaku) Says:

    Hi José,

    Thanks for chipping in the info… I’ll surely give it a shot.

    :)
    Maku

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image