When Concurrency Matters: Behaviour-Oriented Concurrency

Author:

Cheeseman Luke1ORCID,Parkinson Matthew J.2ORCID,Clebsch Sylvan2ORCID,Kogias Marios3ORCID,Drossopoulou Sophia1ORCID,Chisnall David4ORCID,Wrigstad Tobias5ORCID,Liétar Paul4ORCID

Affiliation:

1. Imperial College London, London, UK

2. Microsoft Azure Research, Cambridge, UK

3. Imperial College London, London, UK / Microsoft Research, Cambridge, UK

4. Microsoft, Cambridge, UK

5. Uppsala University, Uppsala, Sweden

Abstract

Expressing parallelism and coordination is central for modern concurrent programming. Many mechanisms exist for expressing both parallelism and coordination. However, the design decisions for these two mechanisms are tightly intertwined. We believe that the interdependence of these two mechanisms should be recognised and achieved through a single, powerful primitive. We are not the first to realise this: the prime example is actor model programming, where parallelism arises through fine-grained decomposition of a program’s state into actors that are able to execute independently in parallel. However, actor model programming has a serious pain point: updating multiple actors as a single atomic operation is a challenging task. We address this pain point by introducing a new concurrency paradigm: Behaviour-Oriented Concurrency (BoC). In BoC, we are revisiting the fundamental concept of a behaviour to provide a more transactional concurrency model. BoC enables asynchronously creating atomic and ordered units of work with exclusive access to a collection of independent resources. In this paper, we describe BoC informally in terms of examples, which demonstrate the advantages of exclusive access to several independent resources, as well as the need for ordering. We define it through a formal model. We demonstrate its practicality by implementing a C++ runtime. We argue its applicability through the Savina benchmark suite: benchmarks in this suite can be more compactly represented using BoC in place of Actors, and we observe comparable, if not better, performance.

Funder

Engineering and Physical Sciences Research Council

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference63 articles.

1. [n. d.]. Transactors. https://doc.akka.io/docs/akka/2.2/scala/transactors.html [n. d.]. Transactors. https://doc.akka.io/docs/akka/2.2/scala/transactors.html

2. An overview of deterministic database systems

3. Actors

4. Developers AkkaSite. [n. d.]. Akka repo. https://akka.io/docs/ Developers AkkaSite. [n. d.]. Akka repo. https://akka.io/docs/

5. Validity of the single processor approach to achieving large scale computing capabilities

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Reference Capabilities for Flexible Memory Management;Proceedings of the ACM on Programming Languages;2023-10-16

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3