DOI QR코드

DOI QR Code

Cyclostorm : The Cloud Computing Service for Uplifting Javascript Processing Efficiency of Mobile Applications based on WAC

Cyclostorm : WAC 기반 모바일 앱의 자바스크립트 처리 효율 향상을 위한 클라우드 컴퓨팅 서비스

  • Bang, Jiwoong (Department of Computer Science, Graduate School of Dankook University) ;
  • Kim, Daewon (Department of Multimedia Engineering, College of Engineering, Dankook University)
  • 방지웅 (단국대학교 컴퓨터학과) ;
  • 김대원 (단국대학교 멀티미디어공학과)
  • Received : 2013.02.07
  • Published : 2013.05.25

Abstract

Currently it is being gradually focused on the mobile application's processing performance implemented by Javascript and HTML (Hyper Text Markup Language) due to the dissemination of mobile web application supply based on the WAC (Wholesale Application Community). If the application software has a simple functional processing structure, then the problem is benign, however, the load of a browser is getting heavier as the amount of Javascript processing is being increased. There is a limitation on the processing time and capacity of the Javascript in the ordinary mobile browsers which are on the market now. In order to solve those problems, the Web Worker that is not supported from the existing Javascript technology is now provided by the HTML 5 to implement the multi thread. The Web Worker provides a mechanism that process a part from the single thread through a separate one. However, it can not guarantee the computing ability as a native application on the mobile and is not enough as a solution for improving the fundamental processing speed. The Cyclostorm overcomes the limitation of resources as a mobile client and guarantees the performance as a native application by providing high computing service and ascripting the Javascript process on the mobile to the computer server on the cloud. From the performance evaluation experiment, the Cyclostorm shows a maximally 6 times faster computing speed than in the existing mobile browser's Javascript and 3 to 6 times faster than in Web Worker of the HTML 5. In addition, the usage of memory is measured less than the existing method since the server's memory has been used. In this paper, the Cyclostorm is introduced as one of the mobile cloud computing services to conquer the limitation of the WAC based mobile browsers and to improve the existing web application's performances.

WAC (Wholesale Application Community) 기반 모바일 웹 애플리케이션의 보급이 널리 확산됨에 따라 자바스크립트와 HTML (Hyper Text Markup Language)로 구현된 애플리케이션의 처리 성능이 점차 이슈화되고 있다. 단순한 처리 기능만을 갖는 구조라면 현재 통용되는 브라우저에서도 문제가 없지만 자바스크립트의 처리량이 점점 증가 할수록 브라우저의 처리 부담 또한 가중된다. 현재 상용화 되어 있는 모바일 브라우저에서는 자바스크립트의 처리에 시간 및 용량의 제한을 두고 있다. 이러한 문제점의 해결을 위한 대안으로서 HTML 5에서는 기존의 자바스크립트에서는 지원하지 않는 멀티 스레드 구현을 위한 Web Worker를 제공하고 있다. Web Worker는 싱글 스레드에서 처리하는 일정 부분을 별도의 스레드를 통해서 처리하는 메커니즘을 제공한다. 하지만 이는 모바일상의 Native 애플리케이션만큼의 처리 능력을 보장하는 것이 아니며 근본적인 처리 속도 개선 방법으로는 미흡하다. Cyclostorm은 이러한 모바일 상에서의 자바스크립트 처리를 클라우드 상의 컴퓨터 서버에 이전함으로써 모바일 클라이언트로서의 자원적 한계를 극복하고 고성능 처리 서비스를 제공하여 Native 애플리케이션 만큼의 성능을 보장한다. 성능 평가 실험에서 Cyclostorm은 기존의 모바일 브라우저에서의 자바스크립트 처리보다 최대 6배 빠른 처리 속도를 보이고 있고 HTML 5의 Web Worker보다는 3~6배정도의 빠른 성능을 보이고 있다. 또한 메모리 부분에서도 서버 측에 존재하는 메모리를 사용하기 때문에 전반적으로 기존의 방법보다는 낮은 사용량이 측정 되었다. 본 논문에서는 현재 모바일 산업에서 화두가 되고 있는 WAC 기반에서 모바일 브라우저가 갖고 있는 한계를 극복하고 기존 웹 애플리케이션의 성능을 획기적으로 개선할 수 있는 클라우드 컴퓨팅 서비스인 Cyclostorm을 소개한다.

Keywords

References

  1. Kincaid, Jason, "The Wholesale Applications Community Sounds Like A Disaster In The Making", TechCrunch, February 2010.
  2. "Wholesale Applications Community", Wikipedia, April 2013, http://en.wikipedia.org/wiki/Wholesale _Application_Community.
  3. "Core Specification:Introdcution", WAC, July 2011, http://specs.wacapps.net/2.0/jun2011/core/index. html#toc-introduction
  4. "Core Specification:Web Standards", WAC, July 2011, http://specs.wacapps.net/2.0/jun2011/core/we b-standards.html
  5. 이성원, 문수묵, "적시 컴파일러를 내장한 자바스 크립트 엔진의 성능 분석", 대한전자공학회 2008년 정기총회 및 추계종합학술대회, 921-922쪽, 2008.11
  6. "What is SpiderMonkey?", Mozilla Developer Network, November 2013, http://www.mozilla.org/js/spidermonkey/
  7. Peter Lubbers, Brain Albers, Frank Salim, "Pro HTML 5 Programming", Apress, September 2010, ISBN13: 978-1-4302-2790-8
  8. 노병규, "WAC에서의 효율적인 앱 검증 방안", 한국인터넷정보학회 학술발표대회, 381-385쪽, 2010 년 6월
  9. "Device Specifications", WAC, July 2011, http://specs.wacapps.net/2.0/jun2011/
  10. "BONDI 1.1 Approved Release", OMTP BONDI, 2 September 2010, http://bondi.omtp.org/1.1/
  11. "BONDI 1.5 APIs Public Working Draft v1", OMTP BONDI, June 2010, http://bondi.omtp.org/1.5/pwd-1/
  12. 오형석, 문수묵, "동적 컴파일기반의 자바스크립트 엔진에서의 동적 타입 처리: TraceMonkey와 V8", 대한전자공학회 2008년 정기총회 및 추계종합학술 대회, 861-862쪽, 2008년 11월
  13. 정원기, 문수묵, "Sunspider 자바스크립트 벤치마크의 유용성 평가", 대한전자공학회 2008년 정기총회 및 추계종합학술대회, pp.865-866, 2008년 11월
  14. 오형석, 문수묵, "클라이언트 AOTC를 활용한 TraceMonkey 구현", 대한전자공학회 2009년 정기 총회 및 추계종합학술대회, 551-552쪽, 2009년 11 월
  15. HA, Jungwoo, et al. "A concurrent trace-based just-in-time compiler for JavaScript". University of Texas, Austin, Tech. Rep. TR-09-06, 2009.
  16. Gal, Andreas, Christian W. Probst, and Michael Franz. "HotpathVM: an effective JIT compiler for resource-constrained devices.", Proceedings of the 2nd international conference on Virtual execution environments, ACM, pp. 144-153, June 2006.
  17. "DOM Workers", Mozilla Developer Network, April 2013, http://developer.mozilla.org/en/Using_web_workers
  18. World Wide Web Consortium, "HTML 5 workin g draft", W3C, April 2013, http://dev.w3.org/html 5/spec/Overview.html
  19. Eric Bidelman, "The Basics of Web Workers", Html5 Rocks Tutorials, March 2013, http://www.html5rocks.com/en/tutorials/workers/basics/
  20. Web Hypertext Application Technology Working Group, "Web workers draft recommendation", WHATWG community, April 2013, http://www.whatwg.org/specs/web-workers/current-work/
  21. Douglas Crockford. "The application/json media type for javascript object notation (JSON)", JSON.org, July 2006, http://tools.ietf.org/html/rfc4627