Location of Repository

FastIO: Eliminating the Deserialization Overhead in Launching Web Applications

By Jaemin Jung and Youjip Won

Abstract

Web applications are launched by Webkit engine. Dominant fraction of launch latency is spent on serializing the resource file. Webkit engine loads the HTML format based resources from the storage device, and converts them to memory representation creating DOM (Document Object Model) tree and render tree. The overhead of this deserialization is excessive and the modern web applications suffers from tens of a second in application launch latency. We develop a new software layer FastIO. FastIO maps a file system region to memory and uses this memory region to persistently store the tree representation, e.g., DOM tree and render tree, of the resources directly to the storage device. The FastIO layer eliminates the overhead of serializing and deserializing the HTML based resources; parsing the documents, and creating DOM tree and render tree. We implement FastIO layer in commodity PC and adopted FastIO on the Webkit engine. With FastIO, the speed of launching an application increases by 44.8x, 7.9x, and 2.9x when the resource files reside in ramdisk, SSD, and eMMC, respectively

Topics: Web applications are launched by Webkit engine. Dominant fraction of launch latency is spent on serializing the resource file. Webkit engine loads the HTML format based resources from the storage device, and converts them to memory representation creating DOM (Document Object Model) tree and render tree. The overhead of this deserialization is excessive and the modern web applications suffers from tens of a second in application launch latency. We develop a new software layer FastIO. FastIO maps a file system region to memory and uses this memory region to persistently store the tree representation, e.g., DOM tree and render tree, of the resources directly to the storage device. The FastIO layer eliminates the overhead of serializing and deserializing the HTML based resources; parsing the documents, and creating DOM tree and render tree. We implement FastIO layer in commodity PC and adopted FastIO on the Webkit engine. With FastIO, the speed of launching an application increases by 44.8x, 7.9x, and 2.9x when the resource files reside in ramdisk, SSD, and eMMC, respectively., Electronic computers. Computer science, QA75.5-76.95, Instruments and machines, QA71-90, Mathematics, QA1-939, Science, Q
Publisher: Buldanshahr : IJECSE
Year: 2015
OAI identifier: oai:doaj.org/article:5c9e25ec67bf4502ad44f86502ba64ff
Journal:
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • https://doaj.org/toc/2277-1956 (external link)
  • https://doaj.org/toc/2277-1956 (external link)
  • http://ijecse.org/wp-content/u... (external link)
  • https://doaj.org/article/5c9e2... (external link)
  • Suggested articles


    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.