Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li,...

48
Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha (UC Riverside), Vyas Sekar (Stony Brook University) 1

Transcript of Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li,...

Page 1: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

1

Enabling the Transition to the Mobile Web with WebSieve

Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis,

Harsha V. Madhyastha (UC Riverside), Vyas Sekar (Stony Brook University)

Page 2: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

Source: gomez.com

Why does load time matter?

2

Page 3: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

Source: gomez.com

Why does load time matter?

3

“Google incorporates site speed into search rankings”

Page 4: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

4

High Load Times are Common

Page 5: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

5

High Load Times are Common

Median Sitew/o mobile version

19 sec

Page 6: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

6

High Load Times are Common

Median Mobile Site

13 sec

Median Sitew/o mobile version

19 sec

Page 7: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

7

Page Complexity Load Time

Well StudiedMobiSys 2010 Huang, et al.

IMC 2011 Butkiewicz, et al.

HotMobile 2011 Wang, et al.

httparchive.org

Page 8: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

8

Page Complexity Load Time

Well StudiedMobiSys 2010 Huang, et al.

IMC 2011 Butkiewicz, et al.

HotMobile 2011 Wang, et al.

httparchive.org

Page 9: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

9

Page Complexity Load Time

200850 objects

Well StudiedMobiSys 2010 Huang, et al.

IMC 2011 Butkiewicz, et al.

HotMobile 2011 Wang, et al.

httparchive.org

Page 10: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

10

Page Complexity Load Time

Well StudiedMobiSys 2010 Huang, et al.

IMC 2011 Butkiewicz, et al.

HotMobile 2011 Wang, et al.

httparchive.org 200850 objects

2012100 objects!

Page 11: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

11

Page Complexity Load Time

Well StudiedMobiSys 2010 Huang, et al.

IMC 2011 Butkiewicz, et al.

HotMobile 2011 Wang, et al.

httparchive.org 200850 objects

2012100 objects!

Webpage Complexity outpacing Mobile Resources

Page 12: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

12

WebSieve’s GoalState of the Art: Manual Reduction of Complexity

Page 13: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

13

WebSieve’s GoalState of the Art: Manual Reduction of Complexity

Our Goal: Automate Mobile-Friendly Optimization

Page 14: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

14

WebSieve’s GoalState of the Art: Manual Reduction of Complexity

Our Goal: Automate Mobile-Friendly Optimization

Page 15: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

15

– Block Low Importance Objects

WebSieve’s GoalState of the Art: Manual Reduction of Complexity

Our Goal: Automate Mobile-Friendly Optimization

Page 16: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

16

– Block Low Importance Objects– Prioritize High Importance Objects

WebSieve’s GoalState of the Art: Manual Reduction of Complexity

Our Goal: Automate Mobile-Friendly Optimization

Page 17: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

17

– Block Low Importance Objects– Prioritize High Importance Objects

WebSieve’s GoalState of the Art: Manual Reduction of Complexity

Our Goal: Automate Mobile-Friendly Optimization

Page 18: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

18

Challenge 1. Inferring Object Utility

Page 19: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

19

Low Utility

Low Utility Challenge 1. Inferring Object UtilityLow

Utility

Page 20: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

20

High Utility

High Utility

Challenge 1. Inferring Object Utility

Page 21: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

21

? Utility

Challenge 1. Inferring Object Utility

Page 22: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

22

HTML

CSS JS

Challenge 2. Discovering Dependencies

Page 23: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

23

HTML

CSS JS

Challenge 2. Discovering Dependencies

Page 24: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

24

HTML

CSS JS

Challenge 2. Discovering Dependencies

Page 25: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

25

Challenge 3. Predicting New Load Times

Page 26: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

26

Server Variability

Challenge 3. Predicting New Load Times

Page 27: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

27

Script Processing

Server Variability

Challenge 3. Predicting New Load Times

Page 28: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

28

ParallelConnection

Limits

Script Processing

Server Variability

Challenge 3. Predicting New Load Times

Page 29: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

29

foo.com/xO1 O2 O3 O4

Front-end Back-end

Our Vision For WebSieve

Page 30: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

30

Dependency Extraction

foo.com/xO1 O2 O3 O4

Front-end Back-end

Our Vision For WebSieve

Page 31: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

31

Dependency Extraction

User Utility Inference

ObjectSelection

foo.com/xO1 O2 O3 O4

Front-end Back-end

Our Vision For WebSieve

Page 32: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

32

Dependency Extraction

User Utility Inference

ObjectSelection

foo.com/xO1 O2 O3 O4

Our Vision For WebSieve

Fetch Fingerprint

Fetch HTML

Front-end Back-end

Page 33: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

33

Dependency Extraction

User Utility Inference

ObjectSelection

foo.com/xO1 O2 O3 O4

Front-end Back-end

Our Vision For WebSieve

{O1,O3}

Fetch HTML

Page 34: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

34

Dependency Extraction

User Utility Inference

ObjectSelection

foo.com/xO1 O2 O3 O4

Front-end Back-end

Our Vision For WebSieve

2. Load {O1,O3}

1. HTML Received

Page 35: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

35

Challenge 1. Inferring Utility

Approach: User Study + Machine Learning

Page 36: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

36

Challenge 1. Inferring Utility

Approach: User Study + Machine Learning

Simple Machine Learning Not Enough

Personalization Is Key

Page 37: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

37

HTML

JPG a JS 1

JS 2 JPG b

JPG c

Original Load

Challenge 2. Discover Dependencies

Approach: Block & Infer

Page 38: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

38

HTML

JPG a JS 1

JS 2 JPG b

JPG c

HTML

JPG a

Original Load Block JS 1

Challenge 2. Discover Dependencies

Approach: Block & Infer

Page 39: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

39

HTML

JPG a JS 1

JS 2 JPG b

JPG c

HTML

JPG a

HTML

JPG a JS 1

JPG b

Original Load Block JS 1 Block JS 2

Challenge 2. Discover Dependencies

Approach: Block & Infer

Page 40: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

40

HTML

JPG a JS 1

JS 2 JPG b

JPG c

HTML

JPG a

HTML

JPG a JS 1

JPG b

Original Load Block JS 1 Block JS 2

Challenge 2. Discover Dependencies

Approach: Block & Infer

Page 41: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

41

Challenge 3. Object Selection

Approach: Page Tree Cut

Util: 5Time: 4s

Util: 2Time: 0.5s

Util: 1Time: 1s

Util: 0Time: 0.1s

Util: 1Time: 2s

Util: 2Time: 0.5s

Util: 5Time: 0.5s

Util: 7Time: 0.4s

Util: 3Time: 2s

• Cut Dependency DAG• Maximize Utility• Respect Load Time Budget

Page 42: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

42

Challenge 3. Object Selection

Approach: Page Tree Cut

Util: 5Time: 4s

Util: 2Time: 0.5s

Util: 1Time: 1s

Util: 0Time: 0.1s

Util: 1Time: 2s

Util: 2Time: 0.5s

Util: 5Time: 0.5s

Util: 7Time: 0.4s

Util: 3Time: 2s

• Cut Dependency DAG• Maximize Utility• Respect Load Time Budget

Page 43: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

43

Wrap UpLoad Time Strongly Impacts User Satisfaction

State of the Art: Manual Complexity Reduction

Page 44: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

44

Wrap UpLoad Time Strongly Impacts User Satisfaction

State of the Art: Manual Complexity ReductionWebSieve: Automate Mobile-Friendly Optimization

Page 45: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

45

Wrap UpLoad Time Strongly Impacts User Satisfaction

State of the Art: Manual Complexity ReductionWebSieve: Automate Mobile-Friendly Optimization

– Block Low Importance Objects

Page 46: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

46

Wrap UpLoad Time Strongly Impacts User Satisfaction

State of the Art: Manual Complexity ReductionWebSieve: Automate Mobile-Friendly Optimization

– Block Low Importance Objects– Prioritize High Importance Objects

Page 47: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

47

Wrap UpLoad Time Strongly Impacts User Satisfaction

State of the Art: Manual Complexity ReductionWebSieve: Automate Mobile-Friendly Optimization

– Block Low Importance Objects– Prioritize High Importance Objects

Challenges: Object Dependency, Utility, Obj. Selection

Page 48: Enabling the Transition to the Mobile Web with WebSieve Michael Butkiewicz, Zhe Wu, Shunan Li, Pavithra Murali, Vagelis Hristidis, Harsha V. Madhyastha.

48

Wrap UpLoad Time Strongly Impacts User Satisfaction

State of the Art: Manual Complexity ReductionWebSieve: Automate Mobile-Friendly Optimization

– Block Low Importance Objects– Prioritize High Importance Objects

Challenges: Object Dependency, Utility, Obj. Selection

Ongoing Prototype Development & Promising Results