Spread and use Firefox
Advertise on this blog!
-->

Subscribe to my posts via Email


Delivered by FeedBurner

I'm an Indian
Darn proud of being an Indian!

Links...

Categories

Archives

Friends



Subscribe





External Links



You might want to check out...

Online Casinos - A guide to the best online casinos, gambling sites and casino bonuses

March 14, 2008

(Posted at 5:35 pm)

Giving ApnaBill a 76.35% kick :)

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…

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/

Comment by José Valim — May 10, 2008 @ 5:50 am

Hi José,

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

:)
Maku

Comment by Mayank Jain (makuchaku) — May 10, 2008 @ 11:54 am

Leave a comment

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