计算机科学 > 程序设计语言
[提交于 2026年6月11日]
标题:Probabilistic, Resource-Aware, Asynchronous, Out-of-Order Choreographies
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Futures-based implementations of out-of-order choreographies can substantially improve latency and throughput, but their actual behavior depends on resources such as communication delay, computation time, failures, and recovery. Existing formal models such as Ozone's O3 describe which executions are possible, but do not directly explain how likely those executions are or how long they take. In this work we present AsInst, a probabilistic, resource-aware language for modeling the semantics of asynchronous choreographies with out-of-order execution. AsInst programs are interpreted as temporal Bayesian networks that model both the values produced at runtime and the times at which they become available. We prove that this central semantics correctly captures a corresponding futures-style network semantics. We also show that AsInst can encode Ozone-style select-and-merge conditionals, and we use case studies to model communication-failure recovery and analyze runtime performance.
提交历史
来自:Mako Bates[v1] 2026年6月11日 星期四 16:10:50 UTC