Cross App Tracing: Time to Break Up that Huge Rails Application?

By Posted in New Relic News, Tech Topics, Top Post 22 April 2013

RailsConf 2013 logoRailsConf 2013 is right around the corner! And to celebrate, we’re publishing a series of blog post that highlight what’s new and exciting in the world of New Relic’s Ruby support.

If you’re a Rails developer, you know that developing a great web app is a straightforward process. While that offers many advantages, some apps grow too large and become hard to manage.

This means you’ve mostly likely had at least one encounter with a huge monolithic Rails application. And breaking up these apps has become a common topic at Ruby conferences this year. At Ruby on Ales, Software Developer Brian Morton explained how Yammer breaks applications into services. (He’ll be giving the same talk next week at RailsConf.)

To help you stay in control of your applications, New Relic’s Ruby Agent now provides Cross Application Tracing (CAT) which tracks and visualizes how different services in your infrastructure communicate. In addition to tracking across Ruby apps, we can trace API calls made to Java, Python, PHP, or .NET apps. For example, you can use CAT to see related Transaction Traces between a Rails application and a high performance Java service.

CAT Transaction Traces

Use CAT to get some good insight into how data is flowing between your applications. It’s been helpful to us for breaking apart our own gigantic Rails app.

For more information on New Relic’s Ruby agent, check out:

* rubygems.org
* github.com
* newrelic.com

Next up: Thread Profiling: See Exactly What Your App Is Doing

Headed to RailsConf 2013? Stop by our booth to see the New Relic Ruby Agent in action, pick up your free Data Nerd tshirt and more. You can even try New Relic Pro free for 30 days. For more information, go to newrelic.com/rubyconf.

About the author

Sam Goldstein is engineering manager, agents, for New Relic. He manages Browser Application Monitoring team. He's been writing Ruby for almost a decade and is the author of several semi-popular gems, including diffy and timetrap.

Tell us your thoughts Or Send us an internal high five

Talk to @newrelic