SlideShare une entreprise Scribd logo
1  sur  45
Who I Am
Cliff Crocker
VP Product
SOASTA, Inc.
@cliffcrocker
http://www.flickr.com/photos/luc/
Real Users
http://www.flickr.com/photos/spullara/
Happy Users
http://www.flickr.com/photos/sybrenstuvel/
Not So
Happy
RUM 101
Real User Measurement (RUM) is a technology for collecting
performance metrics directly from the browser of an end user.
• Involves instrumentation of the page with JavaScript
• Measurements are fired across the network to a collection point
through a small request object (beacon)
<JS> MySite.com
<beacon>
Origins of RUM
2005-6: Steve S. builds
JS tool to measure
page load from the
browser during a
Yahoo! hackday
2008: Steve open
sources ‘Episodes’.
White pages open
sources ‘Jiffy’
2010: Yahoo! Open
sources
‘boomerang.js’ the
same day Navigation
Timing is introduced
in IE9 beta
• http://stevesouders.com/episodes/
• https://code.google.com/p/jiffy-web/
• http://lognormal.github.com/boomerang/doc/
• https://dvcs.w3.org/hg/webperf/raw-
file/tip/specs/NavigationTiming/Overview.html
This helped…
Navigation Timing API
• Exposes network level timing details to JavaScript
• DNS lookup, TCP connect, SSL handshake, First Byte time, and more
• For a given web request, you can tell exactly where the time was spent
• Supported by IE >= 9, Chrome >=6, Firefox >=7, Android Browser .=4.0, others
• No exposure into rendering times
C’mon Safari, be cool…
http://caniuse.com/nav-timing
~70%
Browser
Support
Why RUM is Awesome
• Reduces the level of convincing we have to do within our
organization that ‘faster is better’
• The only way to measure perceived performance from your end
user
• Easy to maintain
• Only getting better…
– Check out:http://blog.patrickmeenan.com/2013/07/measuring-
performance-of-user-experience.html
• User Timing for RUM and Synthetic
– Fun with resource timing: https://github.com/andydavies/waterfall
What gives??
No RUM
RUM • According to a study
done in 2012* only 1
in 5 of the top
ecommerce sites are
using some form of
RUM
*http://www.webperformancetoday.com/2012/11/13/real-user-monitoring-rum-ecommerce-sites/
Challenges with RUM
1. It’s a “data” problem
2. People don’t like change
3. Hard to “sell” internally
For a modest sized site, in a given day
1-3 Million Page Views
Perf Timing
User Agent
OS/Device
Geography
Page
Segmentation
Bandwidth
Classification
A/B Bucket
‘Other’
Many have advocated aggressive
sampling of data…
~1% sample, looking at a period of about 3 hours for a given page segment (Checkout)
1% > checkout
Filtered to the United States…
1% > >checkout
Looking specifically at California…
1% > > >checkout
IE9 Browsers only.
1% > > >checkout
Looking at all traffic.
100% > checkout
All filters applied, identified bimodal distribution driven by backend time.
100% > > >checkout
> backend time
Sampled at 1%
Not sampled
To be fair…
Read:
http://www.webperformancetoday.com/2013/03/06/big-
data-vs-big-enough-data/
Many use a batch solution…
• Batch processing large amounts of data has
been a traditional approach for RUM
– Great for looking at historical data, trending, etc.
– Big Data is not necessarily Fast Data
• Not ‘Operational’
In order for RUM to be operationally relevant,
you need the data in real-time
Synthetic vs. RUM
http://www.flickr.com/photos/myvector/
It is Not Either Or
• Synthetic and RUM coexist
• Important to understand:
– Geographic performance
– Object level detail (waterfall)
– Browser performance
– Competitive positioning
– Site coverage
Performance by Geography
RUM
????
Performance by Geography
Synthetic
Understanding Performance by
Geography
• RUM provides
better visibility
into geographic
variability (simply
more data points
from more
locations)
RUM 1
Synthetic 0
Object Level Detail
RUM 1
Synthetic 1
Waterfall available for most
major browsers available for
synthetic monitoring (IE, FF
(Commercial), Chrome, Safari)
Limited support for waterfall
using resource timing (IE10 &
Chrome stable) – using
waterfall.js
Browser Coverage
RUM 2
Synthetic 1
Synthetic
Support for major browsers
Commercial
(mainstream
synthetic)
WebPagetest
support
RUM
Support for any browser that
executes JS
Competitive Positioning
RUM 2
Synthetic 2
Synthetic
Ability to measure competitors easily
RUM
More complex, no standard
benchmarks (yet!)
Commercial offerings
WebPagetest.org
Site Coverage
RUM 3
Synthetic 2
Synthetic
Choose a ‘happy path’ or spot check
RUM
No blind spots!
http://scoutmastercg.com/wp-
content/uploads/typimg/green_laser.png
http://www.flickr.com/photos/areese/with/4002609608/
Synthetic Monitoring
• Pros
– Technology is great
– Real Browsers (IE,
Chrome, FF)
– Built in Alerting
– Waterfall analysis
– Screen shots & headers
– Object level detail
• Cons
– False Positives
– Impossible/impractical
to measure everything
– Fixed number of
browser/OS
combinations
– Simulated bandwidth
constraints at best
– Too few data points for
statistical relevance
RUM
Cast a wide net
• Identify key areas of concern
• Understand real user impact
• Tie this back to $$ (next)
Synthetic
Diagnostic tool
• Identify issues in a ‘lab’
• Reproduce a problem found with
RUM
http://www.flickr.com/photos/84338444@N00/with/3780079044/
http://www.flickr.com/photos/ezioman/
RUM in the
Workplace
Studies show…
However, you have to look at your own
data
Understand your KPIs and How to
Track Them
• Retail: Order Conversion, Add to Cart
Conversion, Revenue
• Media: In Line Display Ad Views, Comments,
• Other: Facebook likes/Social Media sharing
Bottom Line, if you want your business
to care – then make it relevant for
them (speak their language)
Strategy for Success – RUM First
RUM First
• All the data (or
statistically
relevant
sample)
• Real-time and
historical
Supplement
with
Synthetic
• Reduce
measurements
based on
coverage with
RUM
• Use for adhoc
diagnostic &
competitive
benchmarking
Map to
business
KPIs
• YOUR goals
• YOUR data
• Single source of
truth
mPulse Lite
http://www.soasta.com/free/

Contenu connexe

En vedette

Water infographics
Water infographicsWater infographics
Water infographicskhmack
 
Paying attention
Paying attentionPaying attention
Paying attentionSMEclub
 
[Bao cao]tim hieu ve mo hinh lap trinh
[Bao cao]tim hieu ve mo hinh lap trinh[Bao cao]tim hieu ve mo hinh lap trinh
[Bao cao]tim hieu ve mo hinh lap trinhThùy Linh
 
Velocity NY - How to Measure Revenue in Milliseconds
Velocity NY - How to Measure Revenue in MillisecondsVelocity NY - How to Measure Revenue in Milliseconds
Velocity NY - How to Measure Revenue in MillisecondsCliff Crocker
 
A Modern Approach to Performance Monitoring
A Modern Approach to Performance MonitoringA Modern Approach to Performance Monitoring
A Modern Approach to Performance MonitoringCliff Crocker
 
Synthetic and RUM - Best of bo
Synthetic and RUM - Best of boSynthetic and RUM - Best of bo
Synthetic and RUM - Best of boCliff Crocker
 
Azure MobileApp & Xamarin.Forms
Azure MobileApp & Xamarin.FormsAzure MobileApp & Xamarin.Forms
Azure MobileApp & Xamarin.FormsAlessandro Pozone
 

En vedette (8)

Water infographics
Water infographicsWater infographics
Water infographics
 
Paying attention
Paying attentionPaying attention
Paying attention
 
[Bao cao]tim hieu ve mo hinh lap trinh
[Bao cao]tim hieu ve mo hinh lap trinh[Bao cao]tim hieu ve mo hinh lap trinh
[Bao cao]tim hieu ve mo hinh lap trinh
 
Velocity NY - How to Measure Revenue in Milliseconds
Velocity NY - How to Measure Revenue in MillisecondsVelocity NY - How to Measure Revenue in Milliseconds
Velocity NY - How to Measure Revenue in Milliseconds
 
A Modern Approach to Performance Monitoring
A Modern Approach to Performance MonitoringA Modern Approach to Performance Monitoring
A Modern Approach to Performance Monitoring
 
Synthetic and RUM - Best of bo
Synthetic and RUM - Best of boSynthetic and RUM - Best of bo
Synthetic and RUM - Best of bo
 
Azure MobileApp & Xamarin.Forms
Azure MobileApp & Xamarin.FormsAzure MobileApp & Xamarin.Forms
Azure MobileApp & Xamarin.Forms
 
Constructivism 4
Constructivism 4Constructivism 4
Constructivism 4
 

Similaire à Rum first london web perf meetup

High Speed Web Sites At Scale
High Speed Web Sites At ScaleHigh Speed Web Sites At Scale
High Speed Web Sites At ScaleBuddy Brewer
 
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...SOASTA
 
Measuring web performance
Measuring web performanceMeasuring web performance
Measuring web performancePatrick Meenan
 
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 MonitoringAkamai Technologies
 
Mastering Mobile Web with 8 Key Rules
Mastering Mobile Web with 8 Key RulesMastering Mobile Web with 8 Key Rules
Mastering Mobile Web with 8 Key RulesMobile Labs
 
Web Performance Optimization
Web Performance OptimizationWeb Performance Optimization
Web Performance OptimizationPatrick Meenan
 
Measure camp tools of the cro rabble
Measure camp   tools of the cro rabbleMeasure camp   tools of the cro rabble
Measure camp tools of the cro rabbleCraig Sullivan
 
538210-rc220-rum
538210-rc220-rum538210-rc220-rum
538210-rc220-rumDan Boutin
 
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO  - SMX 201410 Things Webdesigners tend to do Wrong in SEO  - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014Timon Hartung
 
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 PotsdamFrom Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 PotsdamAndreas Grabner
 
Techie festival 2012 mobile web
Techie festival 2012 mobile webTechie festival 2012 mobile web
Techie festival 2012 mobile webScotty Logan
 
Web Application Performance from User Perspective
Web Application Performance from User PerspectiveWeb Application Performance from User Perspective
Web Application Performance from User PerspectiveŁódQA
 
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014Maximiliano Firtman
 
Client-Side Performance Monitoring (MobileTea, Rome)
Client-Side Performance Monitoring (MobileTea, Rome)Client-Side Performance Monitoring (MobileTea, Rome)
Client-Side Performance Monitoring (MobileTea, Rome)Andrew Rota
 
High Speed Web Sites At Scale (Buddy Brewer)
High Speed Web Sites At Scale (Buddy Brewer)High Speed Web Sites At Scale (Buddy Brewer)
High Speed Web Sites At Scale (Buddy Brewer)Ontico
 
The Truth About Your Web App's Performance
The Truth About Your Web App's PerformanceThe Truth About Your Web App's Performance
The Truth About Your Web App's PerformanceJohn Riviello
 

Similaire à Rum first london web perf meetup (20)

High Speed Web Sites At Scale
High Speed Web Sites At ScaleHigh Speed Web Sites At Scale
High Speed Web Sites At Scale
 
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
 
Measuring web performance
Measuring web performanceMeasuring web performance
Measuring web performance
 
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
 
Mastering Mobile Web with 8 Key Rules
Mastering Mobile Web with 8 Key RulesMastering Mobile Web with 8 Key Rules
Mastering Mobile Web with 8 Key Rules
 
Web Performance Optimization
Web Performance OptimizationWeb Performance Optimization
Web Performance Optimization
 
Measure camp tools of the cro rabble
Measure camp   tools of the cro rabbleMeasure camp   tools of the cro rabble
Measure camp tools of the cro rabble
 
DZone-RUM
DZone-RUMDZone-RUM
DZone-RUM
 
538210-rc220-rum
538210-rc220-rum538210-rc220-rum
538210-rc220-rum
 
538210 rc220-rum
538210 rc220-rum538210 rc220-rum
538210 rc220-rum
 
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO  - SMX 201410 Things Webdesigners tend to do Wrong in SEO  - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014
 
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 PotsdamFrom Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
From Zero to Performance Hero in Minutes - Agile Testing Days 2014 Potsdam
 
Techie festival 2012 mobile web
Techie festival 2012 mobile webTechie festival 2012 mobile web
Techie festival 2012 mobile web
 
Faster websites
Faster websitesFaster websites
Faster websites
 
Web Application Performance from User Perspective
Web Application Performance from User PerspectiveWeb Application Performance from User Perspective
Web Application Performance from User Perspective
 
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014
 
Client-Side Performance Monitoring (MobileTea, Rome)
Client-Side Performance Monitoring (MobileTea, Rome)Client-Side Performance Monitoring (MobileTea, Rome)
Client-Side Performance Monitoring (MobileTea, Rome)
 
Browser Based Performance Testing and Tuning
Browser Based Performance Testing and TuningBrowser Based Performance Testing and Tuning
Browser Based Performance Testing and Tuning
 
High Speed Web Sites At Scale (Buddy Brewer)
High Speed Web Sites At Scale (Buddy Brewer)High Speed Web Sites At Scale (Buddy Brewer)
High Speed Web Sites At Scale (Buddy Brewer)
 
The Truth About Your Web App's Performance
The Truth About Your Web App's PerformanceThe Truth About Your Web App's Performance
The Truth About Your Web App's Performance
 

Dernier

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 Scriptwesley chun
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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.pptxKatpro Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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...Drew Madelung
 
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 organizationRadu Cotescu
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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?Igalia
 
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...Miguel Araújo
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Dernier (20)

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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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...
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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?
 
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...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

Rum first london web perf meetup

  • 1.
  • 2. Who I Am Cliff Crocker VP Product SOASTA, Inc. @cliffcrocker
  • 6. RUM 101 Real User Measurement (RUM) is a technology for collecting performance metrics directly from the browser of an end user. • Involves instrumentation of the page with JavaScript • Measurements are fired across the network to a collection point through a small request object (beacon) <JS> MySite.com <beacon>
  • 7. Origins of RUM 2005-6: Steve S. builds JS tool to measure page load from the browser during a Yahoo! hackday 2008: Steve open sources ‘Episodes’. White pages open sources ‘Jiffy’ 2010: Yahoo! Open sources ‘boomerang.js’ the same day Navigation Timing is introduced in IE9 beta • http://stevesouders.com/episodes/ • https://code.google.com/p/jiffy-web/ • http://lognormal.github.com/boomerang/doc/ • https://dvcs.w3.org/hg/webperf/raw- file/tip/specs/NavigationTiming/Overview.html
  • 9. Navigation Timing API • Exposes network level timing details to JavaScript • DNS lookup, TCP connect, SSL handshake, First Byte time, and more • For a given web request, you can tell exactly where the time was spent • Supported by IE >= 9, Chrome >=6, Firefox >=7, Android Browser .=4.0, others • No exposure into rendering times
  • 10. C’mon Safari, be cool… http://caniuse.com/nav-timing ~70% Browser Support
  • 11. Why RUM is Awesome • Reduces the level of convincing we have to do within our organization that ‘faster is better’ • The only way to measure perceived performance from your end user • Easy to maintain • Only getting better… – Check out:http://blog.patrickmeenan.com/2013/07/measuring- performance-of-user-experience.html • User Timing for RUM and Synthetic – Fun with resource timing: https://github.com/andydavies/waterfall
  • 12. What gives?? No RUM RUM • According to a study done in 2012* only 1 in 5 of the top ecommerce sites are using some form of RUM *http://www.webperformancetoday.com/2012/11/13/real-user-monitoring-rum-ecommerce-sites/
  • 13. Challenges with RUM 1. It’s a “data” problem 2. People don’t like change 3. Hard to “sell” internally
  • 14. For a modest sized site, in a given day 1-3 Million Page Views Perf Timing User Agent OS/Device Geography Page Segmentation Bandwidth Classification A/B Bucket ‘Other’
  • 15.
  • 16. Many have advocated aggressive sampling of data…
  • 17. ~1% sample, looking at a period of about 3 hours for a given page segment (Checkout) 1% > checkout
  • 18. Filtered to the United States… 1% > >checkout
  • 19. Looking specifically at California… 1% > > >checkout
  • 20. IE9 Browsers only. 1% > > >checkout
  • 21. Looking at all traffic. 100% > checkout
  • 22. All filters applied, identified bimodal distribution driven by backend time. 100% > > >checkout > backend time
  • 23. Sampled at 1% Not sampled
  • 25. Many use a batch solution…
  • 26. • Batch processing large amounts of data has been a traditional approach for RUM – Great for looking at historical data, trending, etc. – Big Data is not necessarily Fast Data • Not ‘Operational’
  • 27. In order for RUM to be operationally relevant, you need the data in real-time
  • 29. It is Not Either Or • Synthetic and RUM coexist • Important to understand: – Geographic performance – Object level detail (waterfall) – Browser performance – Competitive positioning – Site coverage
  • 32. Understanding Performance by Geography • RUM provides better visibility into geographic variability (simply more data points from more locations) RUM 1 Synthetic 0
  • 33. Object Level Detail RUM 1 Synthetic 1 Waterfall available for most major browsers available for synthetic monitoring (IE, FF (Commercial), Chrome, Safari) Limited support for waterfall using resource timing (IE10 & Chrome stable) – using waterfall.js
  • 34. Browser Coverage RUM 2 Synthetic 1 Synthetic Support for major browsers Commercial (mainstream synthetic) WebPagetest support RUM Support for any browser that executes JS
  • 35. Competitive Positioning RUM 2 Synthetic 2 Synthetic Ability to measure competitors easily RUM More complex, no standard benchmarks (yet!) Commercial offerings WebPagetest.org
  • 36. Site Coverage RUM 3 Synthetic 2 Synthetic Choose a ‘happy path’ or spot check RUM No blind spots! http://scoutmastercg.com/wp- content/uploads/typimg/green_laser.png http://www.flickr.com/photos/areese/with/4002609608/
  • 37. Synthetic Monitoring • Pros – Technology is great – Real Browsers (IE, Chrome, FF) – Built in Alerting – Waterfall analysis – Screen shots & headers – Object level detail • Cons – False Positives – Impossible/impractical to measure everything – Fixed number of browser/OS combinations – Simulated bandwidth constraints at best – Too few data points for statistical relevance
  • 38. RUM Cast a wide net • Identify key areas of concern • Understand real user impact • Tie this back to $$ (next) Synthetic Diagnostic tool • Identify issues in a ‘lab’ • Reproduce a problem found with RUM http://www.flickr.com/photos/84338444@N00/with/3780079044/ http://www.flickr.com/photos/ezioman/
  • 41. However, you have to look at your own data
  • 42. Understand your KPIs and How to Track Them • Retail: Order Conversion, Add to Cart Conversion, Revenue • Media: In Line Display Ad Views, Comments, • Other: Facebook likes/Social Media sharing
  • 43. Bottom Line, if you want your business to care – then make it relevant for them (speak their language)
  • 44. Strategy for Success – RUM First RUM First • All the data (or statistically relevant sample) • Real-time and historical Supplement with Synthetic • Reduce measurements based on coverage with RUM • Use for adhoc diagnostic & competitive benchmarking Map to business KPIs • YOUR goals • YOUR data • Single source of truth