Finding and fixing top performance issues with new relic rpm

3,245 views

Published on

Finding and fixing top performance issues with new relic rpm

  1. 1. Finding and FixingPerformance Issues withNew Relic RPMDecember 8th, 2010 @ 10AM PSTBrian Doll - New RelicApplication Performance Engineer
  2. 2. New Relic is the leading software as a service provider of application performance management tools. More than 6,000 companies use RPM™, to manage more than 90,000 Java, .net, php, Ruby, or JRuby applications. RPM enables developers and operations teams to monitor, troubleshoot and optimize their web applications. Brian DollApplication Performance Engineering http://www.slideshare.net/briandoll
  3. 3. ✓MonitorsRPM ✓Troubleshoots ✓Tunes Web Applications In the Cloud or Datacenter NewRelic.com
  4. 4. Top 5 Performance Issues#5 N+1 Queries Death by a thousand paper cuts NewRelic.com
  5. 5. 70x pertransaction! NewRelic.com
  6. 6. 1 parent+ 15 children___________________________________ 16 queries! NewRelic.com
  7. 7. Eager vs. Lazy LoadingEager vs. La zy 2 SQL queries vs. 16 SQL queries NewRelic.com
  8. 8. Top 5 Performance Issues#5 N+1 Queries#4 Slow SQL performance NewRelic.com
  9. 9. Transaction Traces Almost one full second! Missing indexExplain Plans are Maps to Improving SQL Queries NewRelic.com
  10. 10. Top 5 Performance Issues#5 N+1 Queries#4 Slow SQL performance#3 Insufficient System Resources NewRelic.com
  11. 11. Waiting in line... NewRelic.com
  12. 12. How are we constrained? NewRelic.com
  13. 13. Scaling Silver Bullet? + ?+ ? + ? NewRelic.com
  14. 14. Top 5 Performance Issues#5 N+1 Queries#4 Slow SQL performance#3 Insufficient System Resources#2 Web Service Domino Effect NewRelic.com
  15. 15. Uh oh... NewRelic.com
  16. 16. Search service unavailable leads to... Unhappy customers leads to... Lost sales !%&()* !"#$ !"#$ !"#$ !"#$ ! "#$ /b NewRelic.com
  17. 17. Circuit CascadingBreakers Failures NewRelic.com
  18. 18. Top 5 Performance Issues#5 N+1 Queries#4 Slow SQL performance#3 Insufficient System Resources#2 Web Service Domino Effect#1 Repetitive Work Syndrome or Cache as cache can NewRelic.com
  19. 19. SlowLots ofwork NewRelic.com
  20. 20. Caching is easy.Cache invalidation is not. NewRelic.com
  21. 21. How RPM Works a! a! a! a! Https Applications New Relic Service Https ๏ Secure, reliable service ๏ No private user data ๏ View app performance from anywhere App Team Supports NewRelic.com
  22. 22. +Faster apps = Happy customers NewRelic.com
  23. 23. •Installs in 2 minutes•Supports Joyent SmartMachines ✓Java ✓Ruby Special Offer: ✓PHP 15% discount for Joyent customers NewRelic.com
  24. 24. Q&A
  25. 25. Questions?• Live Q&A during the webinar• http://support.newrelic.com/• Email: support@newrelic.com• Twitter: @NewRelic• IRC: #NewRelic on Freenode NewRelic.com

×