Shinji Kuwayama

06 Nov, 2009

New Relic: “Mongrel count” vs “Instance count”

Posted by: Shinji Kuwayama In: Rails| Tech Tips

Production - New Relic RPM-4.jpg

New Relic is the best way to track a Rails app’s performance, no question, but it still confounds me at times. Here’s something I learned today.

New Relic reports the number of instances per host; until today, I was reading this as the size of our mongrel pool.

It’s not, actually—it’s more like the ideal size of the mongrel pool. New Relic is actually counting individual instantiations of mongrels, which is to say the number of mongrels which have run. If you’ve got a pool of 8 mongrels (who could ask for more?), and 2 of them have restarted, then New Relic is going to report that you had “10 instances”.

It makes perfect sense in retrospect, but I didn’t realize this until Justin at New Relic pointed it out to me. They’re very responsive at their support site.

I haven’t had the opportunity to see how New Relic displays instance counts for Phusion Passenger deployments; if you have anything to add, please post in the comments!

No Responses to "New Relic: “Mongrel count” vs “Instance count”"

Comment Form

About

View Shinji Kuwayama's profile on LinkedIn Shinji Kuwayama is a Rails developer in Chicago, Illinois.

Twitter

Posting tweet...