Lune

OOPSLA2023顶会

When Concurrency Matters: Behaviour-Oriented Concurrency

Luke Cheeseman, Matthew J. Parkinson, Sylvan Clebsch, Marios Kogias, Sophia Drossopoulou, David Chisnall, Tobias Wrigstad, Paul Liétar

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Dynamic Region Ownership for Concurrency Safety 引用了 Data Race Freedom à la Mode
  • Dynamic Region Ownership for Concurrency Safety 引用了 Reference Capabilities for Flexible Memory Management
  • Data Race Freedom à la Mode 引用了 Reference Capabilities for Flexible Memory Management
  • Caracal: Contention Management with Deterministic Concurrency Control 引用了 Opportunities for Optimism in Contended Main-Memory Multicore Transactions
  • DORADD: Deterministic Parallel Execution in the Era of Microsecond-Scale Computing 引用了 Block-STM: Scaling Blockchain Execution by Turning Ordering Curse to a Performance Blessing
  • DORADD: Deterministic Parallel Execution in the Era of Microsecond-Scale Computing 引用了 Caracal: Contention Management with Deterministic Concurrency Control
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Reference Capabilities for Flexible Memory ManagementEllen Arvidsson, Elias Castegren, Sylvan Clebsch, Sophia Drossopoulou 等OOPSLA 2023 · 17 次引用
  2. Data Race Freedom à la ModeAïna Linn Georges, Benjamin Peters, Laila Elbeheiry, Leo White 等POPL 2025 · 6 次引用
  3. Dynamic Region Ownership for Concurrency SafetyFridtjof Peer Stoldt, Gary Brandt Bucher II, Sylvan Clebsch, Matthew A. Johnson 等PLDI 2025 · 4 次引用
  4. Precise exceptions in relaxed architecturesBen Simner, Alasdair Armstrong, Thomas Bauereiss, Brian Campbell 等ISCA 2025 · 4 次引用
  5. DORADD: Deterministic Parallel Execution in the Era of Microsecond-Scale ComputingZhengqing Liu, Musa Unal, Matthew J. Parkinson, Marios KogiasPPoPP 2025 · 3 次引用

它引用的 Paper6

  1. Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 60 次引用
  2. Block-STM: Scaling Blockchain Execution by Turning Ordering Curse to a Performance BlessingRati Gelashvili, Alexander Spiegelman, Zhuolun Xiang, George Danezis 等PPoPP 2023 · 49 次引用
  3. Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 次引用
  4. Reference Capabilities for Flexible Memory ManagementEllen Arvidsson, Elias Castegren, Sylvan Clebsch, Sophia Drossopoulou 等OOPSLA 2023 · 17 次引用
  5. Scalable and serializable networked multi-actor programmingBo Sang, Patrick Eugster, Gustavo Petri, Srivatsan Ravi 等OOPSLA 2020 · 3 次引用

相关 Paper

  1. Veracity: declarative multicore programming with commutativityAdam Chen, Parisa Fathololumi, Eric Koskinen, Jared PincusOOPSLA 2022 · 2 次引用
  2. Automated Verification of Go Programs via Bounded Model CheckingNicolas Dilley, Julien LangeASE 2021 · 21 次引用
  3. Actor concurrency bugs: a comprehensive study on symptoms, root causes, API usages, and differencesMehdi Bagherzadeh, Nicholas Fireman, Anas Shawesh, Raffi KhatchadourianOOPSLA 2020 · 13 次引用
  4. Hydra: Breaking the Global Ordering Barrier in Multi-BFT ConsensusHanzheng Lyu, Shaokang Xie, Jianyu Niu, Mohammad Sadoghi 等ICDE 2026
  5. An Operational Semantics for True Concurrency in BDI Agent SystemsLavindra de SilvaAAAI 2020 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖