High-performance Deterministic Concurrency Using Lingua Franca
Research output: Contribution to journal › Research article › Contributed › peer-review
Contributors
Abstract
Actor frameworks and similar reactive programming techniques are widely used for building concurrent systems. They promise to be efficient and scale well to a large number of cores or nodes in a distributed system. However, they also expose programmers to nondeterminism, which often makes implementations hard to understand, debug, and test. The recently proposed reactor model is a promising alternative that enables deterministic concurrency. In this article, we present an efficient, parallel implementation of reactors and demonstrate that the determinacy of reactors does not imply a loss in performance. To show this, we evaluate Lingua Franca (LF), a reactor-oriented coordination language. LF equips mainstream programming languages with a deterministic concurrency model that automatically takes advantage of opportunities to exploit parallelism. Our implementation of the Savina benchmark suite demonstrates that, in terms of execution time, the runtime performance of LF programs even exceeds popular and highly optimized actor frameworks. We compare against Akka and CAF, which LF outperforms by 1.86× and 1.42×, respectively.
Details
Original language | English |
---|---|
Article number | 48 |
Journal | ACM transactions on architecture and code optimization |
Volume | 20 |
Issue number | 4 |
Publication status | Published - 26 Oct 2023 |
Peer-reviewed | Yes |
External IDs
ORCID | /0000-0002-5007-445X/work/160049116 |
---|
Keywords
ASJC Scopus subject areas
Keywords
- concurrency, Coordination, determinism, performance