arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.08700cs.PL
收藏

这就够了:与标准编舞原语的异步

That's Enough: Asynchrony with Standard Choreography Primitives

Luís Cruz-Filipe, Fabrizio Montesi

摘要:

编排被广泛用于并发和分布式软件体系结构的规范。由于异步通信在现实世界的系统中是无处不在的,以前的作品提出了不同的方法,在编排的形式化建模。这种方法通常依赖于专门的语法术语或语义来捕获传输中的消息的概念,从而产生必须单独研究的不同形式主义。在这项工作中,我们采取了不同的方法,并表明,这种扩展是不需要的原因在编排异步通信。相反,我们展示了一个标准的编排演算已经有所有需要的表达能力,编码在运输中的消息(从而异步通信),通过原语的进程产卵和名称的移动性。我们的研究结果的实际后果是,我们可以在一个编舞形式主义,这是比迄今提出的更简单的真实世界的系统的原因。

英文摘要:

Choreographies are widely used for the specification of concurrent and distributed software architectures. Since asynchronous communications are ubiquitous in real-world systems, previous works have proposed different approaches for the formal modelling of asynchrony in choreographies. Such approaches typically rely on ad-hoc syntactic terms or semantics for capturing the concept of messages in transit, yielding different formalisms that have to be studied separately. In this work, we take a different approach, and show that such extensions are not needed to reason about asynchronous communications in choreographies. Rather, we demonstrate how a standard choreography calculus already has all the needed expressive power to encode messages in transit (and thus asynchronous communications) through the primitives of process spawning and name mobility. The practical consequence of our results is that we can reason about real-world systems within a choreography formalism that is simpler than those hitherto proposed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑