Back to overview

Generic messages: capability-based shared memory parallelism for event-loop systems

Type of publication Peer-reviewed
Publikationsform Original article (peer-reviewed)
Author Salucci Luca, Bonetta Daniele, Marr Stefan, Binder Walter,
Project Fundamentals of Parallel Programming for Platform-as-a-Service Clouds
Show all

Original article (peer-reviewed)

Journal ACM SIGPLAN Notices
Volume (Issue) 51(8)
Page(s) 1 - 2
Title of proceedings ACM SIGPLAN Notices
DOI 10.1145/3016078.2851184


Systems based on event-loops have been popularized by Node.JS, and are becoming a key technology in the domain of cloud computing. Despite their popularity, such systems support only share-nothing parallelism via message passing between parallel entities usually called workers. In this paper, we introduce a novel parallel programming abstraction called Generic Messages (GEMs), which enables shared-memory parallelism for share-nothing event-based systems. A key characteristic of GEMs is that they enable workers to share state by specifying how the state can be accessed once it is shared. We call this aspect of the GEMs model capability-based parallelism.