Samenvatting
Developers often combine different concurrency models in a single program, in each part of the program using the model that fits best. Many programming languages, such as Clojure, Scala, and Haskell, cater to this need by supporting different concurrency models. However, they are often combined in an ad hoc way and the semantics of the combination is not always well defined.
This paper studies the combination of three concurrency models: futures, actors, and transactions. We show that a naive combination of these models invalidates the guarantees they normally provide, thereby breaking the assumptions of developers. Hence, we present Chocola: a unified framework of futures, actors, and transactions that maintains the guarantees of all models wherever possible, even when they are combined. We present the semantics of this model and its implementation in Clojure, and have evaluated its performance and expressivity using three benchmark applications.
This paper studies the combination of three concurrency models: futures, actors, and transactions. We show that a naive combination of these models invalidates the guarantees they normally provide, thereby breaking the assumptions of developers. Hence, we present Chocola: a unified framework of futures, actors, and transactions that maintains the guarantees of all models wherever possible, even when they are combined. We present the semantics of this model and its implementation in Clojure, and have evaluated its performance and expressivity using three benchmark applications.
Originele taal-2 | English |
---|---|
Pagina's | 33-43 |
Aantal pagina's | 11 |
Status | Published - 5 nov. 2018 |
Evenement | Systems, Programming, Languages and Applications: Software for Humanity - Boston, United States Duur: 4 nov. 2018 → 9 nov. 2018 https://2018.splashcon.org/ |
Conference
Conference | Systems, Programming, Languages and Applications: Software for Humanity |
---|---|
Verkorte titel | SPLASH 2018 |
Land/Regio | United States |
Stad | Boston |
Periode | 4/11/18 → 9/11/18 |
Internet adres |