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

基于Actor模型的实用分布式系统建模测试

Model-based Testing of Practical Distributed Systems in Actor Model

ITMO University(圣彼得堡信息、机械与光学大学)

Ilya Kokorin, Evgeny Chernatskiy, Vitaly Aksenov

AI总结:

本文提出了一种基于Actor模型的分布式系统建模测试方法,通过生成全面的测试套件来验证系统实现的正确性,无需修改代码或干扰执行环境。

摘要:

设计和实现分布式系统正确性往往相当具有挑战性。尽管这些系统通常伴随着通过模型检查技术验证的形式化规范,但实现与形式化规范之间仍存在差距:无法保证实现中没有错误。为了弥合这一差距,可以使用基于模型的测试。具体而言,如果系统的模型可以被解释为有限状态机,就可以为实现生成一个全面的测试套件,涵盖所有可能的状态和转换。在本文中,我们讨论如何高效地为基于Actor模型的分布式系统生成此类测试套件。重要的是,我们的方法不需要对代码进行任何修改或干扰分布式系统执行环境。例如,我们验证了一个基于视标复制算法的实现,该算法用于实际系统中。

英文摘要:

Designing and implementing distributed systems correctly can be quite challenging. Although these systems are often accompanied by formal specifications that are verified using model-checking techniques, a gap still exists between the implementation and its formal specification: there is no guarantee that the implementation is free of bugs. To bridge this gap, we can use model-based testing. Specifically, if the model of the system can be interpreted as a finite-state automaton, we can generate an exhaustive test suite for the implementation that covers all possible states and transitions. In this paper, we discuss how to efficiently generate such a test suite for distributed systems written in the actor model. Importantly, our approach does not require any modifications to the code or interfering with the distributed system execution environment. As an example, we verified an implementation of a replication algorithm based on Viewstamped Replication, which is used in a real-world system.

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

↑