Top Banner
©2016 AKAMAI | FASTER FORWARD™ Metrics, Best Practices and Tools Website Performance Management Shawn Miller - Sr. Solution Architect - Managed Delivery Service (MDS) Desmond Tam - Sr. Enterprise Architect - Consulting Services
51

Site Managing Performance

Apr 14, 2017

Download

Internet

Desmond Tam
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Metrics, Best Practices and Tools

Website Performance Management

Shawn Miller - Sr. Solution Architect - Managed Delivery Service (MDS)Desmond Tam - Sr. Enterprise Architect - Consulting Services

Page 2: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Agenda

■ Challenges & Pitfalls

■ Metrics - Traps, Gotchas, and Things Easily Missed

■ Approaches, Tools and Strategies

■ How Can Akamai Help?

Page 3: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Grow revenue opportunities with fast, personalized web experiences and manage complexity from peak demand, mobile devices and data collection.

Challenges &

Pitfalls

Page 4: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Understand Your Users

Median times only tell part of the story

Page 5: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Page 6: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Traffic

Page Load Time

Akamai Real User Monitoring

Fast Only Matters if Your Application is Scalable

Page 7: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Possible Pain Points

⚠ Origin⚠

⚠ ⚠

⚠⚠ Middle

Mile

⚠ 3rd Party

⚠ Front-End

Page 8: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Information Overload … and Not Enough Time

Page 9: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

When Your Metrics Mislead You...

Page 10: Site Managing Performance

Metrics: Traps, Gotchas, and Things Easily Missed

Page 11: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Measuring Performance

We need benchmarks, so what do we measure?

● Time to First Byte (TTFB)? Fully Loaded? Onload?

● RUM? Synthetic?

● Mobile!

● Single point in time VS regular intervals

Page 12: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Watch Out...

Page 13: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Understand the Measurement

❒ What is happening up to that measurement?

❒ Are you measuring what you expect?

❒ Is it representative of how customers approach your site?

❒ Is the benchmark/metric you are using still valid?

❒ Fixated on one point but missing out on the bigger picture?

Page 14: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

W3C Nav Timing

Page 15: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Browsers and Devices

Page 16: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

But hey,

Time to First Byte

is pretty solid metric, right?

Page 17: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Time To First Byte

Evolution of CDN - Uncacheable Pages...

Pre-Optimization

Page 18: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Evolution of CDN - Uncacheable Pages...

Pre-Optimization

Time To First Byte

Post-Optimizationexamples with two very different outcomes!

Page 19: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Onload Event

Onload for one application may work better for some but not for others

Page 20: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Metrics

What about user experience?

Page 21: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Was the test configured incorrectly? (i.e. unintended redirects, geo-blocking)

In some cases this is acceptable, in some they’re not.

● What’s representative of real world? ● How do users get to your site?

Navigation - Redirects and Representative Site Configuration

Page 22: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Navigation - Redirects and Representative Site Configuration

Did the page even render?

If something rendered, was it what you expected?

Common culprits

● A/B testing● GEO Redirects● Bot Blocking/Caging!

Page 23: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

User Experience While Loading - First Paint / Start Render vs OnLoad vs Fully Loaded

Page 24: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

User Experience While Loading - Visual ProgressionSpeed Index

Visually Complete ProgressImage Source: Webpagetest.org, July 2016https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/metrics/speed-index

Page 25: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

User Experience While Loading

Load Time

2.4s

DOM Complete

1.4sSpeed Index

12717

Surely Speed Index?

Page 26: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

User Timing

When does the “important stuff” appear on my page?

window.performance.mark('HERO_HAS_ARRIVED');

● User Timing Api: https://www.w3.org/TR/user-timing/

Page 27: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Identifying the Issues

How do you identify the cause?

Who is responsible?

How do you mitigate 3rd party issues (product recommendations, etc)

Page 28: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Identifying the Root CauseWebpagetest.org Browser Dev Tools

● Waterfall● Domain tab● Filmstrips● Calling page (aka “loaded by”)

● Waterfall● Script debugging● Calling page (aka “Initiator”)● Browser emulation

Page 29: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

MetricsIt’s not all doom and gloom! Set goals!

● Set Goals○ Revisit the goal and validate if it’s still applicable

● Verify the results!● Educate stakeholders● Enhance reporting with filmstrips/videos etc, where appropriate

● Comparative results to a competitor or a site representative of your goals can be helpful to put things into context

Page 30: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Focus Back on User Experience and Impact to Business

AMOUNT OF TRAFFIC

REVENUE

ENGAGEMENT

PAGE VIEWS

CUSTOMER SATISFACTION

COST

BOUNCE RATE

Source: https://speakerdeck.com/tkadlec/once-more-with-feeling

Page 31: Site Managing Performance

Tools , Approaches, and Strategies

Page 32: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Choose the Right Tool(s)

Page 33: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Real User Monitoring (RUM)

• Real world• All wireless carriers/local

ISPs• All end-users’ locations,

pages visited & browsers/devices

End User Experience Fidelity

Synthetic Monitoring - Backbone

• Clean room environment• Over Internet backbone• Limited # of pages, locations

& browsers/devices

Synthetic Monitoring - Last

Mile / Mobile

• Clean room environment• Over limited # of wireless

carriers/local ISPs• Limited # of pages,

locations & browsers/devices

MajorISPs

Real Customers / Employees

Operational Experiential

LocalISPs

Mobile Carriers

Understand RUM vs Synthetic Testing

Page 34: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Goals: Setting Performance Budgets

“A quantitative expression of a plan for a defined period of time.”

Wikipedia

Page 35: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Example Performance BudgetMEASURE MAXIMUM TOOL NOTES

Total page load time 2 seconds WebPagetest, median from five runs on 3G

All pages

Total page load time 2 seconds Real user monitoring tool, median across geographies

All pages

Total page weight 800 Kb WebPagetest All pages

Speed Index 1,000 WebPagetest using Dulles location in Chrome on 3G

All pages except home page

Speed Index 600 WebPagetest using Dulles location in Chrome on 3G

Home page

Source: Performance budget at Etsy by Lara Callendar Hogan: https://codeascraft.com/2014/12/11/make-performance-part-of-your-workflow/

Page 36: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Stick to the Budget!

1. Optimize an existing feature or asset on the page.

2. Remove an existing feature or asset from the page.

3. Don’t add the new feature or asset.

Source: Tim Kadlec

Page 37: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Too much of a good thing...

Each carousel adds below-the-fold content

“Greatest drawbacks of carousels …people often immediately scroll past these large images.”

Page 38: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Avoid Being the Cop or the Janitor

Page 39: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Create a Performance Culture

EDUCATE CELEBRATECOMMUNICATE

Page 40: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

A/B Testing

Page 41: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Trending vs Direct Comparison

Page Load: 36.1% ⤵

DOM Complete:36% ⤵

Page 42: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Use Descriptive Statistics to Quantify RUM

Page 43: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Comparing RUM Metrics

Page 44: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Apply Front-End Best Practices

MINIFY & COMPRESS

OPTIMIZE IMAGES

CSS FIRST

JS BOTTOM

ASYNC SCRIPTS

AVOID REDIRECTS

DOMAIN SHARDING

REDUCE REQUESTS

Page 45: Site Managing Performance

How Akamai Can Help

Page 46: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

How Akamai can Help

☑ Leverage Akamai Luna Reports and RUM

☑ Akamai Assessment Services

☑ Akamai Managed Delivery Service

Page 47: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Make Use of Akamai Data

Log Delivery Service

Cloud Monitor

Luna Portal Reports Spreadsheet Analysis

Luna Portal Reports

Raw Export

Page 48: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Akamai Assessment Services

1 2 3Event Primer 360º Assessment Custom Consulting Services

We Offer...

Page 49: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Especially When It Involves ...

Visualization of the InternetBarrett Lyon / The Opte Project

Page 50: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

Managed Delivery Service

Monitoring / Alerting

• 24 x7 Monitoring (Hourly sampling)

• Triage Changes• Alert to issues• Recommend Next Steps• Help Mitigate issues

Optimizing

• Monitor & Analyzeo Configuration - Feature

Enablement & Optimizationo URL Content Structure

• Recommend Optimizations• Help with Optimization

Reporting

• Trend Reports • URL RUM data insights• Alert & Action Summary

Detect and Mitigate Issues Proactive

Gain Insight

Weekly

Optimize

Monthly

Offload 24x7 performance management of business critical URLs to Akamai experts....

Page 51: Site Managing Performance

©2016 AKAMAI | FASTER FORWARD™

QUESTIONS

?? ?