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

分布式系统运行时验证的异步容错语言可判定性

Asynchronous Fault-Tolerant Language Decidability for Runtime Verification of Distributed Systems

Armando Castañeda, Gilde Valeria Rodríguez

AI总结:

本文研究了完全异步容错条件下的分布式运行时验证(DRV)问题,证明了仅无实时顺序约束的属性可被异步判定,并提出预测可判定性模型以扩展实时敏感属性的可验证性。

摘要:

实现正确的分布式系统是一项容易出错的任务。运行时验证(Runtime Verification, RV)提供了一种轻量级形式化方法,通过根据正确性属性监控系统执行来提高可靠性。然而,在没有进程具有全局知识的分布式环境中应用 RV 带来了根本性挑战,特别是在完全异步和容错的情况下。本文探讨了在这些条件下的分布式运行时验证(Distributed Runtime Verification, DRV)问题。在我们的模型中,分布式监控器中的每个进程接收描述系统行为的输入单词的一个片段,并且必须决定该单词是否属于代表被验证正确性属性的语言。因此,目标是以分布式容错的方式判定语言。我们提出了几种可判定性定义,研究了它们之间的关系,并证明了可能性与不可能性结果。我们的主要结果之一是对可以异步判定的正确性属性进行了刻画。值得注意的是,该刻画适用于任何语言可判定性定义。直观上讲,该刻画表明只有没有实时顺序约束的属性才能在异步容错环境中被判定。这些结果揭示了现实系统中 DRV 的表达限制,因为一些具有实际意义的属性依赖于对执行中事件的实时顺序进行推理。为了克服这些限制,我们引入了一个较弱的模型,在该模型中被检查的系统是间接验证的。在这个较弱的模型下,我们定义了预测可判定性,这是一种使一些实时敏感的正确性属性变得可验证的可判定性定义。我们的框架统一并扩展了现有的 DRV 理论,并明确了在不同假设下运行时可监控性的边界。

英文摘要:

Implementing correct distributed systems is an error-prone task. Runtime Verification (RV) offers a lightweight formal method to improve reliability by monitoring system executions against correctness properties. However, applying RV in distributed settings - where no process has global knowledge - poses fundamental challenges, particularly under full asynchrony and fault tolerance. This paper addresses the Distributed Runtime Verification (DRV) problem under such conditions. In our model, each process in a distributed monitor receives a fragment of the input word describing system behavior and must decide whether this word belongs to the language representing the correctness property being verified. Hence, the goal is to decide languages in a distributed fault-tolerant manner. We propose several decidability definitions, study the relations among them, and prove possibility and impossibility results. One of our main results is a characterization of the correctness properties that can be decided asynchronously. Remarkably, it applies to any language decidability definition. Intuitively, the characterization is that only properties with no real-time order constraints can be decided in asynchronous fault-tolerant settings. These results expose the expressive limits of DRV in realistic systems, as several properties of practical interest rely on reasoning about real-time order of events in executions. To overcome these limitations, we introduce a weaker model where the system under inspection is verified indirectly. Under this weaker model we define predictive decidability, a decidability definition that turn some real-time sensitive correctness properties verifiable. Our framework unifies and extends existing DRV theory and sharpens the boundary of runtime monitorability under different assumptions.

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

↑