70
Velocity 2012 / 2012-06-26 RUM for Breakfast 1

RUM for Breakfast - distilling insights from the noise

Embed Size (px)

DESCRIPTION

From Velocity 2012 in Santa Clara, CA. Buddy Brewer, Philip Tellis, and Carlos Bueno talk about real user measurement collection, analysis, and insights.

Citation preview

Page 1: RUM for Breakfast - distilling insights from the noise

Velocity 2012 / 2012-06-26 RUM for Breakfast 1

Page 2: RUM for Breakfast - distilling insights from the noise

RUM for Breakfast

Buddy Brewer, Carlos Bueno, Philip Tellis

Velocity 2012 / 2012-06-26

Velocity 2012 / 2012-06-26 RUM for Breakfast 2

Page 3: RUM for Breakfast - distilling insights from the noise

Real Users

Velocity 2012 / 2012-06-26 RUM for Breakfast 3

Page 4: RUM for Breakfast - distilling insights from the noise

Real Browsers

Velocity 2012 / 2012-06-26 RUM for Breakfast 4

Page 5: RUM for Breakfast - distilling insights from the noise

https://github.com/lognormal/boomerang/

Velocity 2012 / 2012-06-26 RUM for Breakfast 5

Page 6: RUM for Breakfast - distilling insights from the noise

Carlos built the dns plugin

Velocity 2012 / 2012-06-26 RUM for Breakfast 6

Page 7: RUM for Breakfast - distilling insights from the noise

Buddy built the navtiming plugin

Velocity 2012 / 2012-06-26 RUM for Breakfast 7

Page 8: RUM for Breakfast - distilling insights from the noise

tl;dr

1 Measure a bunch of stuff in the browser2 Use high school stats that we vaguely remember3 Randomly invent insights

Velocity 2012 / 2012-06-26 RUM for Breakfast 8

Page 9: RUM for Breakfast - distilling insights from the noise

1Measure

Velocity 2012 / 2012-06-26 RUM for Breakfast 9

Page 10: RUM for Breakfast - distilling insights from the noise
Page 11: RUM for Breakfast - distilling insights from the noise
Page 12: RUM for Breakfast - distilling insights from the noise
Page 13: RUM for Breakfast - distilling insights from the noise
Page 14: RUM for Breakfast - distilling insights from the noise
Page 15: RUM for Breakfast - distilling insights from the noise
Page 16: RUM for Breakfast - distilling insights from the noise
Page 17: RUM for Breakfast - distilling insights from the noise
Page 18: RUM for Breakfast - distilling insights from the noise
Page 19: RUM for Breakfast - distilling insights from the noise
Page 20: RUM for Breakfast - distilling insights from the noise
Page 21: RUM for Breakfast - distilling insights from the noise
Page 22: RUM for Breakfast - distilling insights from the noise
Page 23: RUM for Breakfast - distilling insights from the noise
Page 24: RUM for Breakfast - distilling insights from the noise
Page 25: RUM for Breakfast - distilling insights from the noise
Page 26: RUM for Breakfast - distilling insights from the noise
Page 27: RUM for Breakfast - distilling insights from the noise
Page 28: RUM for Breakfast - distilling insights from the noise
Page 29: RUM for Breakfast - distilling insights from the noise
Page 30: RUM for Breakfast - distilling insights from the noise
Page 31: RUM for Breakfast - distilling insights from the noise
Page 32: RUM for Breakfast - distilling insights from the noise
Page 33: RUM for Breakfast - distilling insights from the noise
Page 34: RUM for Breakfast - distilling insights from the noise
Page 35: RUM for Breakfast - distilling insights from the noise
Page 36: RUM for Breakfast - distilling insights from the noise

2Analyze

Velocity 2012 / 2012-06-26 RUM for Breakfast 10

Page 37: RUM for Breakfast - distilling insights from the noise

Log-Normal Distribution

Velocity 2012 / 2012-06-26 RUM for Breakfast 11

Page 38: RUM for Breakfast - distilling insights from the noise

Log-Normal Distribution

The logarithm of the x-axis follows a Normal distribution

Velocity 2012 / 2012-06-26 RUM for Breakfast 11

Page 39: RUM for Breakfast - distilling insights from the noise

Log-Normal Distribution

Use the Geometric Mean for pure Log-Normal distributions

Velocity 2012 / 2012-06-26 RUM for Breakfast 12

Page 40: RUM for Breakfast - distilling insights from the noise

Log-Normal Distribution

Performance data does not always follow a "pure" Log-Normal

distribution

Velocity 2012 / 2012-06-26 RUM for Breakfast 13

Page 41: RUM for Breakfast - distilling insights from the noise

Look at the entire spread

. . .

Velocity 2012 / 2012-06-26 RUM for Breakfast 14

Page 42: RUM for Breakfast - distilling insights from the noise

Look at the entire spread

which often approaches an infinite width

Velocity 2012 / 2012-06-26 RUM for Breakfast 14

Page 43: RUM for Breakfast - distilling insights from the noise

Distill

Velocity 2012 / 2012-06-26 RUM for Breakfast 15

Page 44: RUM for Breakfast - distilling insights from the noise

• 0.8% of hits are fake/abusive• 0.2-0.5% of hits are from a stale cache• 0.1% of hits are absurd• Timestamps in the future (or past depending on how you

interpret it)• Bots ignore robots.txt across domains• "Interesting" caches/copies

Velocity 2012 / 2012-06-26 RUM for Breakfast 16

Page 45: RUM for Breakfast - distilling insights from the noise

Even with beacons, you need to sanitize your input

Velocity 2012 / 2012-06-26 RUM for Breakfast 17

Page 46: RUM for Breakfast - distilling insights from the noise

Band-pass filtering

Velocity 2012 / 2012-06-26 RUM for Breakfast 18

Page 47: RUM for Breakfast - distilling insights from the noise

Band-pass filtering

• Strip everything outside a reasonable range• Bandwidth range: 4kbps - 4Gbps• Page load time: 0ms - 600s

• You may need to relook at the ranges all the time

Velocity 2012 / 2012-06-26 RUM for Breakfast 18

Page 48: RUM for Breakfast - distilling insights from the noise

IQR filtering

Velocity 2012 / 2012-06-26 RUM for Breakfast 19

Page 49: RUM for Breakfast - distilling insights from the noise

IQR filtering

Derive the range from the data

Velocity 2012 / 2012-06-26 RUM for Breakfast 19

Page 50: RUM for Breakfast - distilling insights from the noise

Sampling

Velocity 2012 / 2012-06-26 RUM for Breakfast 20

Page 51: RUM for Breakfast - distilling insights from the noise

Margin of Error

±1.96 σ√n

Velocity 2012 / 2012-06-26 RUM for Breakfast 21

Page 52: RUM for Breakfast - distilling insights from the noise

MoE & Sample size

There is an inverse square root correlation between sample size

and margin of error

Velocity 2012 / 2012-06-26 RUM for Breakfast 22

Page 53: RUM for Breakfast - distilling insights from the noise

How big a sample is representative?

Select n such that���1.96 σ√n

��� ≤ 5%µ

Velocity 2012 / 2012-06-26 RUM for Breakfast 23

Page 54: RUM for Breakfast - distilling insights from the noise

This needs to be at your lowest drilldown level

Velocity 2012 / 2012-06-26 RUM for Breakfast 24

Page 55: RUM for Breakfast - distilling insights from the noise

3Insight

Velocity 2012 / 2012-06-26 RUM for Breakfast 25

Page 56: RUM for Breakfast - distilling insights from the noise

How does performance impact human behavior?

Page 57: RUM for Breakfast - distilling insights from the noise

8 million pages

1.5 million visits

50 different dimensions

Page 58: RUM for Breakfast - distilling insights from the noise

0%

17.50%

35.00%

52.50%

70.00%

0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30

very fast sessions had high bounce rates

Page 59: RUM for Breakfast - distilling insights from the noise

0%

17.50%

35.00%

52.50%

70.00%

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29

bounce rate vs. load time

Page 60: RUM for Breakfast - distilling insights from the noise

0%

17.50%

35.00%

52.50%

70.00%

1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9 9.5 10 10.5 11 11.5 12 12.5

bounce rate vs. DOM interactive

Page 61: RUM for Breakfast - distilling insights from the noise

0%

20.00%

40.00%

60.00%

80.00%

0.5 2 3.5 5 6.5 8 9.5 11 12.5 14 15.5 17 18.5 20 21.5 23 24.5 26 27.5 29

bounce rate vs. front end time

Page 62: RUM for Breakfast - distilling insights from the noise

http://www.flickr.com/photos/21560098@N06/3796822070

is my web site performance toxic to my users?

Page 63: RUM for Breakfast - distilling insights from the noise

http://www.flickr.com/photos/thecosmopolitan/6117530924

LD50 - when do half the users bounce?

Page 64: RUM for Breakfast - distilling insights from the noise

Back end time

DOM Loading

DOM Interactive

Front end time

DOM Complete

Load event

1.7 sec

1.8 sec

2.75 sec

3.5 sec

4.75 sec

5.5 sec

Bounce rate >=50%

Page 65: RUM for Breakfast - distilling insights from the noise

What is the LD50 for your site?

Other bounce rates? 40%? 30%?

Other variables? (critical content visible, etc)

Other behaviors? Conversions, revenue, pages per session, actions, when do people make tea?

Future directions

Page 66: RUM for Breakfast - distilling insights from the noise

Numbers don’t lie

Velocity 2012 / 2012-06-26 RUM for Breakfast 26

Page 67: RUM for Breakfast - distilling insights from the noise

Questions?

Buddy Brewer @bbrewerPhilip Tellis @bluesmoon

Carlos Bueno @archivd

Page 68: RUM for Breakfast - distilling insights from the noise

Thank you

Velocity 2012 / 2012-06-26 RUM for Breakfast 27

Page 69: RUM for Breakfast - distilling insights from the noise
Page 70: RUM for Breakfast - distilling insights from the noise