Bindings, Platforms, and Innovation
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
Tracking change and innovation in the enterprise software development community
Posted by Werner Schuster on May 02, 2008 03:19 PM
New Relic offers Rails performance monitoring and profiling as Software as a Service (SaaS). We talked to Lew Cirne of New Relic to find out how the technology works.Our Agent is implemented in 100% Ruby code, and therefore runs in any Ruby environment on any hardware/os combination, and in any Ruby VM implementation. This includes the reference implementation as well as JRuby and Rubinius. We use Ruby's dynamic language features to place lightweight "tracers" on relatively heavyweight operations like Controller actions, ActiveRecord queries and the like.InfoQ: New Relic is described as working as SaaS - how is this implemented? Is the gathered information sent over the network to your service?
This is a relatively simple concept, but it is very difficult to do really well. Fortunately, we have deep experience in doing things like this from building Wily Technology's Introscope, which is the industry leading application performance management solution for the enterprise Java platform. So while it is possible that a poorly written agent using these approaches might impact the performance or stability of an application, ours does not. Our testing shows that we add no more than 2-5 milliseconds on a transaction's response time, and our CPU consumption is also very low (well below 5%.) And yet we provide incredibly deep performance data of what the application is doing in near realtime.
Since we don't analyze log files after the fact, we get several benefits: - we can report this data much more quickly (once per minute) at lower overhead and zero disk/io - we can get very deep visibility, and that visibility is easily customizable - if it's a ruby method, we can trace it. - There is no extra process to deploy, maintain or consume resources on the production machine
We have 50 private beta customers using RPM in private beta - many of them are very high volume rails sites - and none are experiencing any problems with regards to our agent technology.
The agent that I described above reports the performance data it gathers once per minute to NewRelic.com via http or https, depending on the customer's preference. This data is presented in a collection of highly intuitive views that answer some of the commonly asked performance questions for a live rails application, such as:InfoQ: What kinds of performance problems are currently recognized and reported by New Relic? Would bad coding practices, missing caching, etc. be discovered?
- What are my slowest controller actions?
- How is their performance changing over time?
- How does a specific controller action's response time break down?
- What ActiveRecord objects are most often queried? Or saved? What are the slowest ActiveRecord finders?
- Am I missing an index?
Those are two excellent examples. Another example we see a lot of is when the application invokes a large number of (possibly quick) active record operations in a tight loop that in total add up to a lot of database utilization. the DB tools say that it's performing well, but the app may be abusing the DB by issuing many queries when one query could do a better job. We also track memcache usage by controller action which is another common area of focus for high performance and scale rails sites.InfoQ: You mentioned one user of New Relic - Lighthouse - do you have a list of other customers that you can mention?
Though we are still in private beta, we have a lot of customers that I would consider to be the "who's who" of the rails community. Lighthouse is a great example of that - Rick Olson is one of the core developers on the Ruby on Rails platform and is known as a prolific contributor to the rails community. His endorsement means a lot, in my opinion.InfoQ: What kind of licensing model or pricing structure do you plan?
Other customers that are on-record as being big fans of New Relic are Moku Gift (give an E-Tree and they'll plant a real one!), Redeparede.com (social networking with focus on non-english speaking markets), and Hutz.com (vacation home rental marketplace). Expect more endorsements from our customer base in the near future.
We haven't announced specific pricing yet, but when we do, RPM will be offered as a subscription-based service for which customers will pay a monthly fee that will scale with the size of their managed environment.
Agile Development: A Manager's Roadmap for Success
Download the Free Adobe® Flex® Builder 3 Trial
Ensuring Code Quality in Multi-threaded Applications
Effective Management of Static Analysis Vulnerabilities and Defects
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.
This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.
This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.
This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.
After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.
IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.
Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.
No comments
Watch Thread Reply