GEMS: Shared-memory parallel programming for Node.js

Daniele Bonetta, Luca Salucci, Stefan Marr, Walter Binder

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

Abstract

JavaScript is the most popular programming language for client-side Web applications, and Node.js has popularized the language for server-side computing, too. In this domain, the minimal support for parallel programming remains however a major limitation. In this paper we introduce a novel parallel programming abstraction called Generic Messages (GEMS). GEMS allow one to combine message passing and shared-memory parallelism, extending the classes of parallel applications that can be built with Node.js. GEMS have customizable semantics and enable several forms of thread safety, isolation, and concurrency control. GEMS are designed as convenient JavaScript abstractions that expose high-level and safe parallelism models to the developer. Experiments show that GEMS outperform equivalent Node.js applications thanks to their usage of shared memory.
Original languageEnglish
Title of host publicationOOPSLA 2016 - Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications
EditorsE. Visser, Y. Smaragdakis
PublisherAssociation for Computing Machinery
Pages531-547
ISBN (Electronic)9781450344449
DOIs
Publication statusPublished - 19 Oct 2016
Externally publishedYes
Event2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2016 - Amsterdam, Netherlands
Duration: 31 Oct 20161 Nov 2016

Conference

Conference2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2016
Country/TerritoryNetherlands
CityAmsterdam
Period31/10/161/11/16

Fingerprint

Dive into the research topics of 'GEMS: Shared-memory parallel programming for Node.js'. Together they form a unique fingerprint.

Cite this