线性izability的异步无等待运行时验证与执行
Asynchronous Wait-Free Runtime Verification and Enforcement of Linearizability
AI总结:
本文理论研究并发对象线性izability的运行时验证问题,证明部分场景下直接验证不可能,提出可通过间接预测验证解决,给出仅用读/写对象的验证方法及实现转换方式,首次实现完全异步容错的运行时验证并推导出自执行线性化实现。
摘要:
本文对运行时验证线性izability的问题进行了理论研究,旨在寻求一种并发算法来验证给定并发共享对象实现的当前执行是否具有线性izability。研究表明,无论基础对象的共识能力如何,对于某些常见的顺序对象,运行时验证线性izability是不可能的。随后指出,如果间接验证线性izability,一个称为预测验证的问题变体是可解的:(1)一类并发实现的线性izability可仅使用读/写基础对象(无需共识)进行预测验证;(2)任何实现都可仅通过读/写对象转换为该类中的对应实现。据我们所知,这是首个针对任何正确性条件的完全异步且容错的运行时验证算法。作为副产品,得到了一种简单通用的方法,用于推导能运行时验证自身响应并生成验证历史的线性化实现,这些特性支持以模块化方式设计具有可追责和取证保证的并发系统,我们称这类实现为自执行线性化实现。结果不仅适用于线性izability,还适用于包括set-linearizability和interval-linearizability等泛化的正确性条件。
英文摘要:
This paper presents a {theoretical study} of the problem of verifying linearizability at runtime, where one seeks for a concurrent algorithm for verifying that the current execution of a given concurrent shared object implementation is linearizable. It shows that it is impossible to runtime verify linearizability for some common sequential objects, regardless of the consensus power of base objects. Then, it argues that a variant of the problem, which we call predictive verification, can be solved, if linearizability is verified indirectly. Namely, it shows that (1) linearizability of a class of concurrent implementations can be predictively verified using only read/write base objects (i.e. without the need of consensus), and (2) any implementation can be transformed to its counterpart in the class using only read/write objects. As far as we know, this is the first runtime verification algorithm for any correctness condition that is fully asynchronous and fault-tolerant. As a by-product, it is obtained a simple and generic methodology for deriving linearizable implementations that runtime verify their responses, and are able to produce a history certifying this, properties that allows the design of concurrent systems in a modular manner with accountable and forensic guarantees. We call such implementations self-enforced linearizable. The results hold not only for linearizability but for a correctness condition that includes generalizations of it such as set-linearizability and interval-linearizability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。