How does New Relic work?

First up, you will not manage to duplicate the functionality of NewRelic on your own. Ignoring the server-side, the rpm Gem is a pretty complex piece of software, doing a lot of stuff Have a look at the source if you want to see how it hooks into the Rails system. The source is a worth a read, as it does some cool stuff in terms of threading and marshaling of the data before sending it back to their servers If you want a replacement because Newrelic is expensive (and rightly so, it's awesome at what it does), then have a look at the FreeRelic project on Github.

First up, you will not manage to duplicate the functionality of NewRelic on your own. Ignoring the server-side, the rpm Gem is a pretty complex piece of software, doing a lot of stuff. Have a look at the source if you want to see how it hooks into the Rails system.

The source is a worth a read, as it does some cool stuff in terms of threading and marshaling of the data before sending it back to their servers. If you want a replacement because Newrelic is expensive (and rightly so, it's awesome at what it does), then have a look at the FreeRelic project on Github.

No, I don't want a replacement. I want to do something different, with specific controllers only. I only need to replicate the information being retrieved but not for the same goal.

Thanks – donald Jul 15 at 10:58 2 @donald: As the source is available, what hinders you to take the stuff you need to deal with your requirements? – hakre Jul 20 at 14:48.

For a rails solution you could simply implement a more verbose logging level (development/debug level) and interrogate the production. Log file for specific events, timings etc.

I won't give away the secret sauce, however the 'how' is language dependent. @Douglas is right, look at the source.

First up, you will not manage to duplicate the functionality of NewRelic on your own. Ignoring the server-side, the rpm Gem is a pretty complex piece of software, doing a lot of stuff. Have a look at the source if you want to see how it hooks into the Rails system.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions