Vroom: Accelerating the Mobile Web with Server-Aided Dependency Resolution
Vaspol Ruamviboonsuk1, Ravi Netravali2, Muhammed Uluyol1, Harsha V. Madhyastha1
1
1University of Michigan, 2MIT
Vroom: Accelerating the Mobile Web with Server-Aided Dependency - - PowerPoint PPT Presentation
Vroom: Accelerating the Mobile Web with Server-Aided Dependency Resolution Vaspol Ruamviboonsuk 1 , Ravi Netravali 2 , Muhammed Uluyol 1 , Harsha V. Madhyastha 1 1 University of Michigan, 2 MIT 1 Mobile Web Dominant ... but Slow... 9.85s to
1
1University of Michigan, 2MIT
2
Ref: http://gs.statcounter.com/press/mobile-and-tablet-internet-usage-exceeds-desktop-for-first-time-worldwide
3
10s
10s 5s
4
<html> … <script src=”script.js”></script> … </html>
var img = new Image(); img.src = “b.com/img.jpg”; document.body.appendChild(img); a.com/script.js
5
GET a.com HTML Parse HTML GET script.js script.js Execute script.js GET img.jpg img.jpg
Client a.com b.com
Onload
index.html script.js img.jpg
Dependency Graph
6
Parse HTML Execute script.js
Client
Onload
Network Utilization CPU Utilization
7
Client
a.com
Proxy
b.com c.com GET a.com/index.html Stream downloaded resources
Fetch resources
8
9
10
GET a.com HTML Parse HTML GET script.js script.js Execute script.js GET img.jpg img.jpg
Client a.com b.com
Onload
index.html script.js img.jpg
Dependency Graph
11
GET a.com HTML Parse HTML GET script.js script.js Execute script.js GET img.jpg img.jpg
Client a.com b.com
Onload script.js
index.html script.js img.jpg
Dependency Graph
12
GET a.com HTML Parse HTML Execute script.js GET img.jpg img.jpg
Client a.com b.com
Onload script.js
index.html script.js img.jpg
Dependency Graph
GET img.jpg
13
GET a.com HTML & b.com/img.jpg Parse HTML Execute script.js img.jpg Client a.com b.com Onload
index.html script.js img.jpg
Dependency Graph
GET img.jpg img.jpg
14
15
foo.com
a.com b.com c.com
16
Parse HTML Response
foo.com
t0 t1 t2 ...
17
Start Personalized Content?
18
19
20
T=0 Onload
21
22
23
24
10s Alexa top 50 news and 50 sports sites
25
7.5s 10s
26
7.5s 10s 7.5s 10s 5s
27
7.5s 10s 5s
28
7.5s 10s 5s
29