SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Getting to know your Users
with a little RUM
SCOTT POVLOT
Introduction
Scott Povlot
Technical Architect
Autotrader
Twitter: @spovlot
Browser Testing and Monitoring
Actual Browsers
Browser Metrics
Synthetic Monitoring
Scheduled/Consistent
Known Environment
◦ Browser
◦ OS
◦ Network Speed
◦ Fixed Locations
Good for availability monitoring
Real User Monitoring (User)
Any Browser
Any Where
Any Time
Real Users
◦ How your site works in the “real world”
Broad View of the World
Using JavaScript and a beacon
Latency
the delay from input into a system to desired outcome
Navigation Timing
http://www.w3.org/TR/navigation-timing/
Not supported on iOS and older browsers
Resource Timing
http://www.w3.org/TR/resource-timing/
Not supported on iOS, Safari and older browsers
Navigation Timing – JavaScript Sample
// Navigation Timing
var t = performance.timing,
pageloadtime = t.loadEventStart - t.navigationStart,
dns = t.domainLookupEnd - t.domainLookupStart,
tcp = t.connectEnd - t.connectStart,
ttfb = t.responseStart - t.navigationStart;
Resource Timing – JavaScript Sample
// Resource Timing
var r0 = performance.getEntriesByType("resource")[0],
loadtime = r0.duration,
dns = r0.domainLookupEnd - r0.domainLookupStart,
tcp = r0.connectEnd - r0.connectStart,
ttfb = r0.responseStart - r0.startTime;
Real User Monitoring (RUM)
Gather Data via JavaScript
Send Data via Beacon
Receive Data on Server
Store and Analyze
Boomerang
https://github.com/lognormal/boomerang/
Documentation
http://www.lognormal.com/boomerang/doc/
Philip Tellis
@bluesmoon
SOASTA, Inc.
Chief Architect & RUM Distiller
Boomerang Plugins
Round Trip
Bandwidth & Latency
DNS
Navigation Timing
Resource Timing
IPv6
Clicks
AutoXHR
Boomerang JavaScript
<script src="boomerang.js" type="text/javascript"></script>
<script type="text/javascript">
BOOMR.init({
beacon_url: "http://yoursite.com/path/to/beacon.gif"
});
</script>
Boomerang Customization
<script type="text/javascript">
BOOMR.subscribe('before_beacon', function(o) {
BOOMR.addVar({
"bucket": "test#1",
"page_id": 123
});
});
</script>
RUM Beacon
GET
or POST (if over 2000 char)
/beacon/rum?rt.start=navigation&rt.tstart=1438653301740&rt.bstart=143865
3304560&rt.end=1438653308546&t_resp=1699&t_page=5107&t_done=6806&t_other=
t_domloaded%7C4172&nt_red_cnt=0&nt_nav_type=0&nt_nav_st=1438653301740&nt_
red_st=0&nt_red_end=0&nt_fet_st=1438653302905&nt_dns_st=1438653302905&nt_
dns_end=1438653302905&nt_con_st=1438653302905&nt_con_end=1438653302905&nt
_req_st=1438653302906&nt_res_st=1438653303439&nt_res_end=1438653303609&nt
_domloading=1438653303441&nt_domint=1438653305779&nt_domcontloaded_st=143
8653305779&nt_domcontloaded_end=1438653305912&nt_domcomp=1438653308530&nt
_load_st=1438653308530&nt_load_end=1438653308546&nt_unload_st=0&nt_unload
_end=0&nt_spdy=0&nt_cinf=http%2F1&nt_first_paint=1438653304.607804&v=0.9&
vis.st=visible&bucket=test#1&page_id=123
Boomerang Timings
t_done
◦ Roundtrip time: rt.end - rt.tstart
t_resp
◦ Backend time: (responseStart || t_fb_approx) - rt.tstart
t_page
◦ Frontend time: rt.end - (responseStart || t_fb_approx)
Beacon Reciever
BoomCatch
◦ https://github.com/nature/boomcatch/
SOASTA mPulse
Your Custom Server
Now What?
Analyze, Analyze, Analyze
And Then?
Triangulate with Synthetic Monitoring Results
Optimize Performance
Rinse and Repeat
Appendix
Compressing Resource Timing
http://www.soasta.com/blog/compressing-resourcetiming/
https://github.com/lognormal/boomerang/pull/44
{
"responseEnd":323.1100000002698,
"responseStart":300.5000000000000,
"requestStart":252.68599999981234,
"secureConnectionStart":0,
"connectEnd":0,
"connectStart":0,
"domainLookupEnd":0,
"domainLookupStart":0,
"redirectEnd":0,
"redirectStart":0,
"startTime":252.68599999981234,
"initiatorType":"script",
"name":"http://foo.com/js/foo.js"
}
{
"http://": {
"foo.com/": {
"js/foo.js": "370,1z,1c",
"css/foo.css": "48c,5k,14"
}
}
}

Weitere ähnliche Inhalte

Andere mochten auch

User Research - Digging for Gold_FINAL
User Research - Digging for Gold_FINALUser Research - Digging for Gold_FINAL
User Research - Digging for Gold_FINAL
Kaleb Loosbrock
 
Camera Shot Powerpoint
Camera Shot PowerpointCamera Shot Powerpoint
Camera Shot Powerpoint
ecsmedia
 
Repeat presentation
Repeat presentationRepeat presentation
Repeat presentation
gkesel
 
Pre production power point media
Pre production power point mediaPre production power point media
Pre production power point media
ecsmedia
 
Angle shots
Angle shotsAngle shots
Angle shots
ecsmedia
 
Trend Snacks2013
Trend Snacks2013Trend Snacks2013
Trend Snacks2013
Wilmar Tax
 

Andere mochten auch (20)

Ning presentation 10 13-10
Ning presentation 10 13-10Ning presentation 10 13-10
Ning presentation 10 13-10
 
Mj i mech e presentation 19-11-12
Mj i mech e presentation 19-11-12Mj i mech e presentation 19-11-12
Mj i mech e presentation 19-11-12
 
User Research - Digging for Gold_FINAL
User Research - Digging for Gold_FINALUser Research - Digging for Gold_FINAL
User Research - Digging for Gold_FINAL
 
Δομή Επανάληψης
Δομή ΕπανάληψηςΔομή Επανάληψης
Δομή Επανάληψης
 
Three settings 2
Three settings 2Three settings 2
Three settings 2
 
Didactica universitaria
Didactica universitariaDidactica universitaria
Didactica universitaria
 
Azure in Developer Perspective
Azure in Developer PerspectiveAzure in Developer Perspective
Azure in Developer Perspective
 
Interaccion
InteraccionInteraccion
Interaccion
 
Building trust in teams
Building trust in teamsBuilding trust in teams
Building trust in teams
 
Camera Shot Powerpoint
Camera Shot PowerpointCamera Shot Powerpoint
Camera Shot Powerpoint
 
Y3 course introduction
Y3 course introductionY3 course introduction
Y3 course introduction
 
Iss
IssIss
Iss
 
Repeat presentation
Repeat presentationRepeat presentation
Repeat presentation
 
upload test2
upload test2upload test2
upload test2
 
Pre production power point media
Pre production power point mediaPre production power point media
Pre production power point media
 
Angle shots
Angle shotsAngle shots
Angle shots
 
Trend Snacks2013
Trend Snacks2013Trend Snacks2013
Trend Snacks2013
 
guida sommario indice windows 7 reti sicurezza tecniche avanzate
guida sommario indice windows 7 reti sicurezza tecniche avanzateguida sommario indice windows 7 reti sicurezza tecniche avanzate
guida sommario indice windows 7 reti sicurezza tecniche avanzate
 
zolotoi us
zolotoi uszolotoi us
zolotoi us
 
SMCMUC Social CRM
SMCMUC Social CRMSMCMUC Social CRM
SMCMUC Social CRM
 

Ähnlich wie Getting to know your users with RUM

Let's Peel Mangos
Let's Peel MangosLet's Peel Mangos
Let's Peel Mangos
Sam Basu
 

Ähnlich wie Getting to know your users with RUM (20)

Let's Peel Mangos
Let's Peel MangosLet's Peel Mangos
Let's Peel Mangos
 
A Modern Approach to Performance Monitoring
A Modern Approach to Performance MonitoringA Modern Approach to Performance Monitoring
A Modern Approach to Performance Monitoring
 
Edge 2014: A Modern Approach to Performance Monitoring
Edge 2014: A Modern Approach to Performance MonitoringEdge 2014: A Modern Approach to Performance Monitoring
Edge 2014: A Modern Approach to Performance Monitoring
 
Browser Based Performance Testing and Tuning
Browser Based Performance Testing and TuningBrowser Based Performance Testing and Tuning
Browser Based Performance Testing and Tuning
 
Web of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the WebWeb of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the Web
 
Module 3 - How SWORD Works
Module 3 - How SWORD WorksModule 3 - How SWORD Works
Module 3 - How SWORD Works
 
Making Repository Easier With SWORD
Making Repository Easier With SWORDMaking Repository Easier With SWORD
Making Repository Easier With SWORD
 
HTTP2
HTTP2HTTP2
HTTP2
 
How to Start Performance Testing?
How to Start Performance Testing?How to Start Performance Testing?
How to Start Performance Testing?
 
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern AppsMeteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
Meteor MIT Tech Talk 9/18/14: Designing a New Platform For Modern Apps
 
HTTP/2 - How it's changing web performance
HTTP/2 - How it's changing web performanceHTTP/2 - How it's changing web performance
HTTP/2 - How it's changing web performance
 
Web performance optimisations for the harsh conditions - Anna Migas
Web performance optimisations for the harsh conditions - Anna MigasWeb performance optimisations for the harsh conditions - Anna Migas
Web performance optimisations for the harsh conditions - Anna Migas
 
Web performance optimisations for the harsh conditions.pdf
Web performance optimisations for the harsh conditions.pdfWeb performance optimisations for the harsh conditions.pdf
Web performance optimisations for the harsh conditions.pdf
 
Secret Performance Metric - Armada JS.pdf
Secret Performance Metric - Armada JS.pdfSecret Performance Metric - Armada JS.pdf
Secret Performance Metric - Armada JS.pdf
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?) Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)
 
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)Metrics, metrics everywhere (but where the heck do you start?)
Metrics, metrics everywhere (but where the heck do you start?)
 
Velocity NYC: Metrics, metrics everywhere (but where the heck do you start?)
Velocity NYC: Metrics, metrics everywhere (but where the heck do you start?)Velocity NYC: Metrics, metrics everywhere (but where the heck do you start?)
Velocity NYC: Metrics, metrics everywhere (but where the heck do you start?)
 
XSEDE14 SciGaP-Apache Airavata Tutorial
XSEDE14 SciGaP-Apache Airavata TutorialXSEDE14 SciGaP-Apache Airavata Tutorial
XSEDE14 SciGaP-Apache Airavata Tutorial
 
SWORD: The Story So Far
SWORD: The Story So FarSWORD: The Story So Far
SWORD: The Story So Far
 
Make It Fast - Using Modern Browser Performance APIs to Monitor and Improve t...
Make It Fast - Using Modern Browser Performance APIs to Monitor and Improve t...Make It Fast - Using Modern Browser Performance APIs to Monitor and Improve t...
Make It Fast - Using Modern Browser Performance APIs to Monitor and Improve t...
 

Mehr von Scott Povlot (7)

Sketchup Handout
Sketchup HandoutSketchup Handout
Sketchup Handout
 
Scale Modeling using Sketchup
Scale Modeling using SketchupScale Modeling using Sketchup
Scale Modeling using Sketchup
 
Scale signs handout
Scale signs handoutScale signs handout
Scale signs handout
 
Signs Handout
Signs HandoutSigns Handout
Signs Handout
 
Scratchbuilding Signs
Scratchbuilding SignsScratchbuilding Signs
Scratchbuilding Signs
 
Drupal Rules!
Drupal Rules!Drupal Rules!
Drupal Rules!
 
JavaScript Tools Overview
JavaScript Tools OverviewJavaScript Tools Overview
JavaScript Tools Overview
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Getting to know your users with RUM

Hinweis der Redaktion

  1. Speed of Business
  2. No Metrics is like walking blindfolded
  3. You need a metrics dashboard
  4. Javascript Console – Timing examples