Workshop New Relic - juni 2015
Transcript of Workshop New Relic - juni 2015
![Page 1: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/1.jpg)
Workshop - New Relic
![Page 3: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/3.jpg)
NEW RELIC
✓ Performance Monitor
✓ Error Monitor
✓ Uptime Monitor
✓ Alert Dispatcher
![Page 4: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/4.jpg)
Look & Feel
![Page 5: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/5.jpg)
THREE MAIN USES FOR DEVS AND MAINTAINERS
1. Performance optimization track (project based)
2. Elusive bugs and Performance Peaks (incidents)
3. Performance monitoring over time for scalability
![Page 6: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/6.jpg)
TRACK 1: PERFORMANCE OPTIMIZATION
Basic Workflow
● Identify pages that are worth investigating (slow versus
time consumed)
● Set a target page response time (global and for specific
pages)
● Wait for transaction traces to come in and analyse
bottlenecks.
● Buy a new template Fix the code
● Check gain when live or watch the new bottleneck rears
it's ugly head.
![Page 7: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/7.jpg)
PERFORMANCE OPTIMIZATION TRACK
Recursive Loads
Expensive observers
Platform bottlenecks
Too much bling
Shaving the milliseconds
![Page 8: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/8.jpg)
Recursive load
![Page 9: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/9.jpg)
Many Recursive Loads
![Page 10: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/10.jpg)
Many Recursive Loads
Queries
![Page 11: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/11.jpg)
Track 2: Bug or performance bottleneck incident
![Page 12: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/12.jpg)
“What did you do to break it?”
UNABLE TO REPRODUCE THE PROBLEM
“Works for me, so call me back when you see it again”
“Site’s up and running”(and you forgot your /etc/hosts
file)
![Page 13: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/13.jpg)
REPRODUCING THE PROBLEM
✓ 7-day error retention
✓ Graphed
✓ Alertable (based on % of requests)
✓ Traces
![Page 14: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/14.jpg)
Error Rate Screen
![Page 15: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/15.jpg)
Error Trace
![Page 16: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/16.jpg)
Performance Bottleneck
Ready… Aim… Fire!
![Page 17: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/17.jpg)
Track 3: Performance Monitoring
Observe. Respond. Report. Advise.
![Page 18: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/18.jpg)
PERFORMANCE MONITORING TOOLBOX
EVENT ALERTS:
● Application wide ApDex
● Key Transaction ApDex
● Error rates
● Reachability
PERIODICS:
● Weekly Performance Email
● 90 days application wide
● 30 days per transaction
● Historic Performance
Comparison
![Page 19: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/19.jpg)
Ale
rt
Sys
tem
Pro
cess
![Page 20: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/20.jpg)
Reporting the good stuff
Release “Awesome Sauce”
![Page 21: Workshop New Relic - juni 2015](https://reader036.fdocuments.in/reader036/viewer/2022062320/55c165f2bb61eba22b8b469e/html5/thumbnails/21.jpg)
Interested?
DIRECTLY FROM NEW RELIC THROUGH BYTE