面向基于Actor的系统的高效线性一致性检查
Efficient Linearizability Checking for Actor-based Systems
AI总结:
针对基于actor的分布式软件正确性验证难的问题,提出DS2框架的线性一致性检查方法,通过对照顺序模型验证子组件、优化调度空间探索算法,可高效发现系统漏洞。
摘要:
近期对分布式软件的需求促使基于actor的框架人气激增。然而,即便采用actor的规范化消息传递模型,编写正确的分布式软件仍十分困难。我们介绍了在DS2(一个用于分布式actor系统的规约、综合与测试的集成框架)中开展线性一致性检查的工作。本方法的核心洞见是,分布式actor系统的子组件通常代表常见算法或数据结构(例如分布式哈希表或树),可对照系统的简单顺序模型进行验证。这让开发者无需复杂规约即可轻松验证其并发actor系统。DS2会自动探索系统可能到达的并发调度,并比较系统的观测输出,确保其与顺序实现可能产生的输出等价。我们阐述了DS2的线性一致性检查机制,并在文献中的多种并发复制算法上对其进行了测试。我们详细探究了枚举模型调度空间的不同算法在发现actor系统漏洞方面的表现,还提出了我们对actor系统调度探索算法的改进方案,并证明这些改进能有效发现漏洞。
英文摘要:
Recent demand for distributed software had led to a surge in popularity in actor-based frameworks. However, even with the stylized message passing model of actors, writing correct distributed software is still difficult. We present our work on linearizability checking in DS2, an integrated framework for specifying, synthesizing, and testing distributed actor systems. The key insight of our approach is that often subcomponents of distributed actor systems represent common algorithms or data structures (e.g.\ a distributed hash table or tree) that can be validated against a simple sequential model of the system. This makes it easy for developers to validate their concurrent actor systems without complex specifications. DS2 automatically explores the concurrent schedules that system could arrive at, and it compares observed output of the system to ensure it is equivalent to what the sequential implementation could have produced. We describe DS2's linearizability checking and test it on several concurrent replication algorithms from the literature. We explore in detail how different algorithms for enumerating the model schedule space fare in finding bugs in actor systems, and we present our own refinements on algorithms for exploring actor system schedules that we show are effective in finding bugs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。