Dynamic web worker pool management for highly parallel java']javascript web applications

被引:2
|
作者
Verdu, Javier [1 ]
Jose Costa, Juan [1 ]
Pajuelo, Alex [1 ]
机构
[1] BarcelonaTECH UPC, Dept Comp Architecture, Barcelona, Spain
来源
关键词
!text type='HTML']HTML[!/text]5; web workers; !text type='Java']Java[!/text]Script; web applications; parallelism; multithreaded; THREAD-LEVEL SPECULATION; PERFORMANCE;
D O I
10.1002/cpe.3739
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
JavaScript web applications are improving performance mainly thanks to the inclusion of new standards by HTML5. Among others, web workers API allows multithreaded JavaScript web apps to exploit parallel processors. However, developers have difficulties to determine the minimum number of web workers that provide the highest performance. But even if developers found out this optimal number, it is a static value configured at the beginning of the execution. Because users tend to execute other applications in background, the estimated number of web workers could be non-optimal, because it may overload or underutilize the system. In this paper, we propose a solution for highly parallel web apps to dynamically adapt the number of running web workers to the actual available resources, avoiding the hassle to estimate a static optimal number of threads. The solution consists in the inclusion of a web worker pool and a simple management algorithm in the web app. Even though there are co-running applications, the results show our approach dynamically enables a number of web workers close to the optimal. Our proposal, which is independent of the web browser, overcomes the lack of knowledge of the underlying processor architecture as well as dynamic resources availability changes. Copyright (c) 2015 John Wiley & Sons, Ltd.
引用
收藏
页码:3525 / 3539
页数:15
相关论文
共 50 条
  • [1] Parallel Java']JavaScript Execution in Web Navigation Sequences
    Losada, Jose
    Raposo, Juan
    Pan, Alberto
    Montoto, Paula
    Alvarez, Manuel
    [J]. 2015 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE AND INTELLIGENT AGENT TECHNOLOGY (WI-IAT), VOL 1, 2015, : 284 - 291
  • [2] Towards Data Extraction of Dynamic Content from Java']JavaScript Web Applications
    Prutsachainimmit, Korawit
    Nadee, Winai
    [J]. 2018 32ND INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING (ICOIN), 2018, : 750 - 754
  • [3] Guided Mutation Testing for Java']JavaScript Web Applications
    Mirshokraie, Shabnam
    Mesbah, Ali
    Pattabiraman, Karthik
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (05) : 429 - 444
  • [4] Designing with java']javascript: Creating dynamic web pages
    DeLoach, S
    [J]. TECHNICAL COMMUNICATION, 1999, 46 (03) : 400 - 403
  • [5] A Framework for Automated Testing of Java']JavaScript Web Applications
    Artzi, Shay
    Dolby, Julian
    Jensen, Simon Holm
    Moller, Anders
    Tip, Frank
    [J]. 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, : 571 - 580
  • [6] Performance Scalability Analysis of Java']JavaScript Applications with Web Workers
    Verdu, Javier
    Pajuelo, Alex
    [J]. IEEE COMPUTER ARCHITECTURE LETTERS, 2016, 15 (02) : 105 - 108
  • [7] WEB BASED DYNAMIC MODELING BY MEANS OF PHP AND JAVA']JAVASCRIPT
    Valek, Jan
    Sladek, Petr
    [J]. INFORMATION AND COMMUNICATION TECHNOLOGY IN EDUCATION, 2012, : 291 - 301
  • [8] Practical AJAX Race Detection for Java']JavaScript Web Applications
    Adamsen, Christoffer Quist
    Moller, Anders
    Alimadadi, Saba
    Tip, Frank
    [J]. ESEC/FSE'18: PROCEEDINGS OF THE 2018 26TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2018, : 38 - 48
  • [9] Designing with Java']JavaScript: Creating dynamic Web pages.
    Brooks, TA
    [J]. JOURNAL OF THE AMERICAN SOCIETY FOR INFORMATION SCIENCE AND TECHNOLOGY, 2002, 53 (11): : 967 - 968
  • [10] Model-Based Development of Java']JavaScript Web Applications
    Wagner, Gerd
    [J]. CURRENT TRENDS IN WEB ENGINEERING, ICWE 2017, 2018, 10544 : 267 - 268