Downloads provided by UsageCounts
doi: 10.1002/cpe.3739
handle: 2117/90716
SummaryJavaScript 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 © 2015 John Wiley & Sons, Ltd.
JavaScript, Parallel processing (Electronic computers), Processament en paral·lel (Ordinadors), Web applications, Web workers, Parallelism, HTML5, Àrees temàtiques de la UPC::Informàtica::Arquitectura de computadors, Simultaneous multithreading processors, Multithreaded, :Informàtica::Arquitectura de computadors [Àrees temàtiques de la UPC]
JavaScript, Parallel processing (Electronic computers), Processament en paral·lel (Ordinadors), Web applications, Web workers, Parallelism, HTML5, Àrees temàtiques de la UPC::Informàtica::Arquitectura de computadors, Simultaneous multithreading processors, Multithreaded, :Informàtica::Arquitectura de computadors [Àrees temàtiques de la UPC]
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 5 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
| views | 64 | |
| downloads | 333 |

Views provided by UsageCounts
Downloads provided by UsageCounts