kirancodes.me
To Proof Maintenance & Beyond!

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

Luca Salucci, Daniele Bonetta, Stefan Marr, Walter Binder

Abstract

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.

Related papers