论非同步与舞蹈编排
On Asynchrony and Choreographies
摘要:
编排程序设计是并发软件开发的一个范例,其中从语法上防止死锁。然而,编排语言通常是同步的,而许多现实世界的系统具有异步通信。以前的尝试丰富舞蹈与ad-hoc结构依赖于ad-hoc结构,其充分性只是非正式地争论。在这项工作中,我们正式的属性,一个异步的语义编排应该有:消息可以发送没有预定的接收器准备好,所有发送的消息最终被接收。我们探讨如何乱序执行,用于建模并发编排,可以利用赋予编排与异步语义。我们的方法满足我们确定的属性。我们展示了我们的开发如何产生一个愉快的对应基于FIFO的异步消息传递,在一个过程演算建模,并讨论它如何可以通过更复杂的编排模型。
英文摘要:
Choreographic Programming is a paradigm for the development of concurrent software, where deadlocks are prevented syntactically. However, choreography languages are typically synchronous, whereas many real-world systems have asynchronous communications. Previous attempts at enriching choreographies with asynchrony rely on ad-hoc constructions, whose adequacy is only argued informally. In this work, we formalise the properties that an asynchronous semantics for choreographies should have: messages can be sent without the intended receiver being ready, and all sent messages are eventually received. We explore how out-of-order execution, used in choreographies for modelling concurrency, can be exploited to endow choreographies with an asynchronous semantics. Our approach satisfies the properties we identified. We show how our development yields a pleasant correspondence with FIFO-based asynchronous messaging, modelled in a process calculus, and discuss how it can be adopted in more complex choreography models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。