Transforming Javascript Event-Loop Into a Pipeline

Etienne Brodu 1, 2 Stéphane Frénot 2 Frédéric Oblé 1, *
* Auteur correspondant
2 DICE - Data on the Internet at the Core of the Economy
Inria Grenoble - Rhône-Alpes, CITI - CITI Centre of Innovation in Telecommunications and Integration of services
Abstract : The development of a real-time web application often starts with a feature-driven approach allowing to quickly react to users feedbacks. However, this approach poorly scales in performance. Yet, the user-base can increase by an order of magnitude in a matter of hours. This first approach is unable to deal with the highest connections spikes. It leads the development team to shift to a scalable approach often linked to new development paradigm such as dataflow programming. This shift of technology is disruptive and continuity-threatening. To avoid it, we propose to abstract the feature-driven development into a more scalable high-level language. Indeed, reasoning on this high-level language allows to dynamically cope with user-base size evolutions. We propose a compilation approach that transforms a Javascript, single-threaded real-time web application into a network of small independent parts communicating by message streams. We named these parts fluxions, by contraction between a flow (flux in french) and a function. The independence of these parts allows their execution to be parallel, and to organize an application on several processors to cope with its load, in a similar way network routers do with IP traffic. We test this approach by applying the compiler to a real web application. We transform this application to parallelize the execution of an independent part and present the result.
Type de document :
Communication dans un congrès
SAC, Apr 2016, Pisa, Italy. 2016, 〈10.1145/2851613.2851745〉
Liste complète des métadonnées

Littérature citée [21 références]  Voir  Masquer  Télécharger

https://hal.archives-ouvertes.fr/hal-01238895
Contributeur : Brodu Etienne <>
Soumis le : vendredi 12 février 2016 - 15:40:31
Dernière modification le : mercredi 11 avril 2018 - 01:53:27
Document(s) archivé(s) le : samedi 12 novembre 2016 - 19:12:40

Fichiers

main.pdf
Fichiers produits par l'(les) auteur(s)

Licence


Distributed under a Creative Commons Paternité 4.0 International License

Identifiants

Collections

Citation

Etienne Brodu, Stéphane Frénot, Frédéric Oblé. Transforming Javascript Event-Loop Into a Pipeline. SAC, Apr 2016, Pisa, Italy. 2016, 〈10.1145/2851613.2851745〉. 〈hal-01238895v3〉

Partager

Métriques

Consultations de la notice

336

Téléchargements de fichiers

281