Scalable and serializable networked multi-actor programming

Author:

Sang Bo1,Eugster Patrick2ORCID,Petri Gustavo3,Ravi Srivatsan4ORCID,Roman Pierre-Louis5ORCID

Affiliation:

1. Purdue University, USA / Ant Group, USA

2. USI Lugano, Switzerland / TU Darmstadt, Germany / Purdue University, USA

3. ARM Research, UK

4. University of Southern California, USA

5. USI Lugano, Switzerland

Abstract

A major challenge in writing applications that execute across hosts, such as distributed online services, is to reconcile (a) parallelism (i.e., allowing components to execute independently on disjoint tasks), and (b)cooperation (i.e., allowing components to work together on common tasks). A good compromise between the two is vital to scalability, a core concern in distributed networked applications. The actor model of computation is a widely promoted programming model for distributed applications, as actors can execute in individual threads (parallelism) across different hosts and interact via asynchronous message passing (collaboration). However, this makes it hard for programmers to reason about combinations of messages as opposed to individual messages, which is essential in many scenarios. This paper presents a pragmatic variant of the actor model in which messages can be grouped into units that are executed in a serializable manner, whilst still retaining a high degree of parallelism. In short, our model is based on an orchestration of actors along a directed acyclic graph that supports efficient decentralized synchronization among actors based on their actual interaction. We present the implementation of this model, based on a dynamic DAG-inducing referencing discipline, in the actor-based programming language AEON. We argue serializability and the absence of deadlocks in our model, and demonstrate its scalability and usability through extensive evaluation and case studies of wide-ranging applications.

Funder

NSF

Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung

European Science Foundation

Deutsche Forschungsgemeinschaft

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference58 articles.

1. 2020. Akka.NET. http://getakka.net 2020. Akka.NET. http://getakka.net

2. AEON. 2020. AEON. https://aeonproject.github.io/aeon/aeon_webpages/ AEON. 2020. AEON. https://aeonproject.github.io/aeon/aeon_webpages/

3. Gul Agha. 1990. Concurrent Object-Oriented Programming. Commun. ACM 33 9 ( 1990 ) 125-141. Gul Agha. 1990. Concurrent Object-Oriented Programming. Commun. ACM 33 9 ( 1990 ) 125-141.

4. Apache. 2020. Hadoop. http://hadoop.apache.org/ Apache. 2020. Hadoop. http://hadoop.apache.org/

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

1. High-performance Deterministic Concurrency Using Lingua Franca;ACM Transactions on Architecture and Code Optimization;2023-10-26

2. When Concurrency Matters: Behaviour-Oriented Concurrency;Proceedings of the ACM on Programming Languages;2023-10-16

3. Reliable Actors with Retry Orchestration;Proceedings of the ACM on Programming Languages;2023-06-06

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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