Files in this item



application/pdffase2013_submission.pdf (251kB)
(no description provided)PDF


Title:Why Do Scala Developers Mix the Actor Model with Other Concurrency Models?
Author(s):Tasharofi, Samira; Dinges, Peter; Johnson, Ralph E.
Subject(s):concurrent programs
actor model
Abstract:Mixing the actor model with other concurrency models in a single program can break the actor abstraction. This increases the chance of creating deadlocks and data races—two mistakes that are hard to make with actors. Furthermore, it prevents the use of many advanced testing, modeling, and verification tools for actors, as these require pure actor programs. This study is the first to point out the phenomenon of mixing concurrency models and to systematically identify the factors leading to it. We studied 15 large, mature, and actively maintained actor programs written in Scala and found that 80% of them mix the actor model with another concurrency model. Consequently, a large part of real-world actor programs does not use actors to their fullest advantage. Inspection of the programs and discussion with the developers reveal two reasons for mixing that can be influenced by researchers and library-builders: weaknesses in the actor library implementations, and shortcomings of the actor model itself.
Issue Date:2012-10-14
Genre:Technical Report
Publication Status:published or submitted for publication
Date Available in IDEALS:2012-10-26

This item appears in the following Collection(s)

Item Statistics