Prophecy: Accelerating mobile page loads using final-state write logs

Ravi Netravali, James Mickens

Research output: Chapter in Book/Report/Conference proceedingConference contribution

24 Scopus citations

Abstract

Web browsing on mobile devices is expensive in terms of battery drainage and bandwidth consumption. Mobile pages also frequently suffer from long load times due to high-latency cellular connections. In this paper, we introduce Prophecy, a new acceleration technology for mobile pages. Prophecy simultaneously reduces energy costs, bandwidth consumption, and page load times. In Prophecy, web servers precompute the JavaScript heap and the DOM tree for a page; when a mobile browser requests the page, the server returns a write log that contains a single write per JavaScript variable or DOM node. The mobile browser replays the writes to quickly reconstruct the final page state, eliding unnecessary intermediate computations. Prophecy's server-side component generates write logs by tracking low-level data flows between the JavaScript heap and the DOM. Using knowledge of these flows, Prophecy enables optimizations that are impossible for prior web accelerators; for example, Prophecy can generate write logs that interleave DOM construction and JavaScript heap construction, allowing interactive page elements to become functional immediately after they become visible to the mobile user. Experiments with real pages and real phones show that Prophecy reduces median page load time by 53%, energy expenditure by 36%, and bandwidth costs by 21%.

Original languageEnglish (US)
Title of host publicationProceedings of the 15th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2018
PublisherUSENIX Association
Pages249-266
Number of pages18
ISBN (Electronic)9781939133014
StatePublished - 2018
Externally publishedYes
Event15th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2018 - Renton, United States
Duration: Apr 9 2018Apr 11 2018

Publication series

NameProceedings of the 15th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2018

Conference

Conference15th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2018
Country/TerritoryUnited States
CityRenton
Period4/9/184/11/18

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Control and Systems Engineering

Fingerprint

Dive into the research topics of 'Prophecy: Accelerating mobile page loads using final-state write logs'. Together they form a unique fingerprint.

Cite this