Transforming Javascript Event-Loop Into a Pipeline
Etienne Brodu (DICE), St\'ephane Fr\'enot (DICE), Fr\'ed\'eric Obl\'e

TL;DR
This paper introduces a compilation method that transforms single-threaded Javascript web applications into a network of parallel, message-driven components called fluxions, enhancing scalability and performance for real-time web apps.
Contribution
It presents a novel compiler approach that converts Javascript event-loop code into a parallel network of fluxions, enabling scalable execution across multiple processors.
Findings
Successful transformation of a real web app into fluxions
Improved scalability and load handling
Parallel execution of application components
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
