DOI QR코드

DOI QR Code

Cloud Computing to Improve JavaScript Processing Efficiency of Mobile Applications

  • Kim, Daewon (Dept. of Applied Computer Engineering, Dankook University)
  • Received : 2016.11.01
  • Accepted : 2017.03.04
  • Published : 2017.08.31

Abstract

The burgeoning distribution of smartphone web applications based on various mobile environments is increasingly focusing on the performance of mobile applications implemented by JavaScript and HTML5 (Hyper Text Markup Language 5). If application software has a simple functional processing structure, then the problem is benign. However, browser loads are becoming more burdensome as the amount of JavaScript processing continues to increase. Processing time and capacity of the JavaScript in current mobile browsers are limited. As a solution, the Web Worker is designed to implement multi-threading. However, it cannot guarantee the computing ability as a native application on mobile devices, and is not sufficient to improve processing speed. The method proposed in this research overcomes the limitation of resources as a mobile client and guarantees performance by native application software by providing high computing service. It shifts the JavaScript process of a mobile device on to a cloud-based computer server. A performance evaluation experiment revealed the proposed algorithm to be up to 6 times faster in computing speed compared to the existing mobile browser's JavaScript process, and 3 to 6 times faster than Web Worker. In addition, memory usage was also less than the existing technology.

Keywords

References

  1. J. Meyer, HTML5 and JavaScript Projects. New York, NY: Apress, 2011.
  2. A. Taivalsaari and K. Systa, "Cloudberry: an HTML5 cloud phone platform for mobile devices," IEEE Software, vol. 29, no. 4, pp. 40-45, 2012. https://doi.org/10.1109/MS.2012.51
  3. A. MacCaw, JavaScript Web Applications. Sebastopol: O'Reilly Media, 2011.
  4. J. K. Martinsen, H. Grahn, and A. Isberg, "Using speculation to enhance JavaScript performance in web applications," IEEE Internet Computing, vol. 17, no. 2, pp. 10-19, 2013. https://doi.org/10.1109/MIC.2012.146
  5. B. S. Yang, J. Lee, S. Lee, S. Park, Y. C. Chung, S. Kim, K. Ebcioglu, E. Altman, and S. M. Moon, "Efficient register mapping and allocation in LaTTe, an open-source Java just-in-time compiler," IEEE Transactions on Parallel and Distributed Systems, vol. 18, no. 1, pp. 57-69, 2007. https://doi.org/10.1109/TPDS.2007.253281
  6. C. Rohlf and Y. Ivnitskiy, "The security challenges of client-side just-in-time engines," IEEE Security & Privacy, vol. 10, no. 2, pp. 84-86, 2012.
  7. V. Pimentel and B. G. Nickerson, "Communicating and displaying real-time data with WebSocket," IEEE Internet Computing, vol. 16, no. 4, pp. 45-53, 2012. https://doi.org/10.1109/MIC.2012.64
  8. I. Green, Web Workers: Multithreaded Programs in JavaScript. Sebastopol: O'Reilly Media, 2012.
  9. Y. Watanabe, S. Okamoto, M. Kohana, M. Kamada, and T. Yonekura, "A parallelization of interactive animation software with web workers," in Proceedings of the 16th IEEE International Conference on Network-Based Information Systems, Gwangju, Korea, 2013, pp. 448-452.
  10. P. Lubbers, B. Albers, and F. Salim, Pro HTML5 Programming, 2nd ed. New York, NY: Apress, 2011.
  11. L. Ullman, Modern JavaScript: Develop and Design. San Francisco, CA: Peachpit Press, 2012.
  12. D. Tiwari and D. Solihin, "Architectural characterization and similarity analysis of sunspider and Google's V8 JavaScript benchmarks," in Proceedings of the IEEE International Symposium on Performance Analysis of Systems and Software, New Brunswick, NJ, 2012, pp. 221-232.
  13. Wikipedia, "JavaScript," 2011 [Online]. Available: https://en.wikipedia.org/wiki/JavaScript.
  14. R. Radhakrishnan, N. Vijaykrishnan, and L. K. John, "Java runtime systems: characterization and architectural implications," IEEE Transactions on Computers, vol. 50, no. 2, pp. 131-146, 2001. https://doi.org/10.1109/12.908989
  15. C. Vivaracho-Pascual and J. Pascual-Gaspar, "On the use of mobile phones and biometrics for accessing restricted web services," IEEE Transactions on Reviews, vol. 42, no. 2, pp. 213-222, 2012.
  16. C. Severance, "Discovering JavaScript object notation," Computer, vol. 45, no. 4, pp. 6-8, 2012. https://doi.org/10.1109/MC.2012.132
  17. S. S. Sriparasa, JavaScript and JSON Essentials. Birmingham, UK: Packt Publishing, 2013.
  18. A. Gal, C. W. Probst, and M. Franz, "HotpathVM: an effective JIT compiler for resource-constrained devices," in Proceedings of the 2nd VEE International Conference on Virtual Execution Environments, Ottawa, Canada, 2006, pp. 144-153.
  19. B. Gao, L. He, and S. A. Jarvis, "Offload decision models and the price of anarchy in mobile cloud application ecosystems," IEEE Access, vol. 3, pp. 3125-3137, 2016.
  20. A. Gheith, R. Rajamony, P. Bohrer, K. Agarwal, M. Kistler, B. L. White Eagle, C. A. Hambridge, J. B. Carter, and T. Kaplinger, "IBM Bluemix mobile cloud services," IBM Journal of Research and Development, vol. 60, no. 2-3, pp. 1-12, 2016.
  21. F. Y. Jiang and H. C. Duan, "Application research of WebSocket technology on web tree component," in Proceedings of the IEEE Symposium on Information Technology in Medicine and Education, Hakodate, Japan, 2012, pp. 889-892.
  22. N. Serrano, J. Hernantes, and G. Gallardo, "Mobile web apps," IEEE Software, vol. 30, no. 5, pp. 22-27, 2013. https://doi.org/10.1109/MS.2013.111
  23. S. Kurumatani, M. Toyama, and E. Y. Chen, "Executing client-side web workers in the cloud," in Proceedings of the 9th IEEE Asia-Pacific Symposium on Information and Telecommunication Technologies, Santiago & Valparaiso, Chile, 2012, pp. 1-6.
  24. X. Ma, Y. Zhao, L. Zhang, H. Wang, and L. Peng, "When mobile terminals meet the cloud: computation offloading as the bridge," IEEE Network, vol. 27, no. 5, pp. 28-33, 2013. https://doi.org/10.1109/MNET.2013.6616112
  25. Y. Wu, Z. Zhang, C. Wu, Z. Li, and F. C. M. Lau, "CloudMoV: cloud-based mobile social TV," IEEE Transactions on Multimedia, vol. 15, no. 4, pp. 821-832, 2013. https://doi.org/10.1109/TMM.2013.2240670
  26. Z. Sanaei, S. Abolfazli, A. Gani, and R. Buyya, "Heterogeneity in mobile cloud computing: taxonomy and open challenges," IEEE Communications Surveys &Tutorials, vol. 16, no. 1, pp. 369-392, 2014. https://doi.org/10.1109/SURV.2013.050113.00090
  27. L. A. Tawalbeh, R. Mehmood, E. Benkhlifa, and H. Song, "Mobile cloud computing model and big data analysis for healthcare applications," IEEE Access, vol. 4, pp. 6171-6180, 2016. https://doi.org/10.1109/ACCESS.2016.2613278
  28. I. Bojanova, J. Zhang, and J. Voas, "Cloud computing," IT Professional, vol. 15, no. 2, pp. 12-14, 2013. https://doi.org/10.1109/MITP.2013.26
  29. B. Frankston, "HTML5," IEEE Consumer Electronics Magazine, vol. 3, no. 2, pp. 62-67, 2014. https://doi.org/10.1109/MCE.2013.2296836

Cited by

  1. Development of Sensor Registry System-Based Predictive Information Service Using a Grid vol.18, pp.11, 2018, https://doi.org/10.3390/s18113620