Giving ApnaBill a 76.35% kick :)
March 14th, 2008
If Rails was not cool enough, caching is icing on the cake
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 OKWith 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)
May 10th, 2008 at 5:50 am
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/
May 10th, 2008 at 11:54 am
Hi José,
Thanks for chipping in the info… I’ll surely give it a shot.
Maku