HTML5 Web Worker Transparent Offloading Method for Web Applications

With the release of HTML5 standards, web applications have become more powerful, complicated and resource-hungry, whereas smart devices are in general resource-constrained. Computation offloading is one of the approaches used to increase application efficiency and decrease energy consumption of smart devices. In this paper, the offloading methods of HTML5 web worker in web applications are discussed, and a transparent offloading method of web worker is proposed to reduce execution time of web application and energy consumption of smart device. By rewrite of web worker implementation and modification of HTML5 websocket mechanism of web platform, web worker is offloaded to server side transparently. Common nontransparent web worker offloading method with JS framework has also been implemented. The experiments results show that the proposed web worker transparent offloading method achieves better performance improvements comparing to no offloading and non-transparent offloading respectively.

[1]  Xinwen Zhang,et al.  Elastic HTML5: Workload Offloading Using Cloud-Based Web Workers and Storages for Mobile Devices , 2010, MobiCASE.

[2]  Alex Pajuelo,et al.  Performance Scalability Analysis of JavaScript Applications with Web Workers , 2016, IEEE Computer Architecture Letters.

[3]  Yuansong Qiao,et al.  MOJA - Mobile offloading for JavaScript applications , 2014 .

[4]  Inchul Hwang,et al.  Cloud Offloading Method for Web Applications , 2014, 2014 2nd IEEE International Conference on Mobile Cloud Computing, Services, and Engineering.

[5]  Xiaoli Gong,et al.  WWOF: An Energy Efficient Offloading Framework for Mobile Webpage , 2016, MobiQuitous.

[6]  Inchul Hwang Design and implementation of cloud offloading framework among devices for web applications , 2015, 2015 12th Annual IEEE Consumer Communications and Networking Conference (CCNC).

[7]  Shih-Hao Hung,et al.  Migratom.js: a JavaScript migration framework for distributed web computing and mobile devices , 2015, SAC.

[8]  Ying Zhang,et al.  JavaScript Offloading for Web Applications in Mobile-Cloud Computing , 2015, 2015 IEEE International Conference on Mobile Services.

[9]  J. Wenny Rahayu,et al.  Mobile cloud computing: A survey , 2013, Future Gener. Comput. Syst..

[10]  S. Kurumatani,et al.  Executing Client-Side Web Workers in the Cloud , 2012, 2012 9th Asia-Pacific Symposium on Information and Telecommunication Technologies (APSITT).

[11]  Bharat K. Bhargava,et al.  A Survey of Computation Offloading for Mobile Systems , 2012, Mobile Networks and Applications.

[12]  Inchul Hwang Adaptive Computational Workload Offloading Method for Web Applications , 2015, ICCSA.

[13]  Inchul Hwang,et al.  WWF: Web Application Workload Balancing Framework , 2014, 2014 28th International Conference on Advanced Information Networking and Applications Workshops.

[14]  Maciej Zbierski,et al.  Bring the Cloud to Your Mobile: Transparent Offloading of HTML5 Web Workers , 2014, 2014 IEEE 6th International Conference on Cloud Computing Technology and Science.