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

可审计寄存器的同步能力

The Synchronization Power of Auditable Registers

Hagit Attiya, Antonella Del Pozzo, Alessia Milani, Ulysse Pavloff, Alexandre Rapetti

AI总结:

本文研究可审计寄存器的同步能力,证明原子审计可解决共识,并给出不同读者/审计者数量下的实现,同时提出可用普通读写实现的常规审计定义。

摘要:

可审计性允许追踪对寄存器执行的所有读操作。它抽象了数据所有者控制对其数据访问的需求,追踪谁读取了哪些信息。这项工作考虑了审计的可能形式化及其对提供审计可能性的影响。自然定义是要求所有写、读和审计操作一起线性化(原子审计)。论文表明原子审计是一种强大的工具,因为它可用于解决共识问题。使用原子审计能够解决共识的进程数取决于能够读取或审计寄存器的进程数。如果只有一个读者或一个审计者(写入者),则可以在两个进程之间解决共识。如果存在多个读者和多个审计者,则可以在相同数量的进程之间解决共识。这意味着需要强大的同步原语来支持原子审计。我们给出了当存在多个读者或多个审计者(但不同时存在两者)时使用共识数为2的原语(交换和取并加)实现原子审计的方法。当存在多个读者和多个审计者时,实现使用比较并交换。这些发现促使了一个更弱的定义,其中审计操作不与写和读操作一起线性化(常规审计)。我们证明了常规审计可以从原子寄存器上的普通读和写实现。

英文摘要:

Auditability allows to track all the read operations performed on a register. It abstracts the need of data owners to control access to their data, tracking who read which information. This work considers possible formalizations of auditing and their ramification for the possibility of providing it. The natural definition is to require a linearization of all write, read and audit operations together (atomic auditing). The paper shows that atomic auditing is a powerful tool, as it can be used to solve consensus. The number of processes that can solve consensus using atomic audit depends on the number of processes that can read or audit the register. If there is a single reader or a single auditor (the writer), then consensus can be solved among two processes. If multiple readers and auditors are possible, then consensus can be solved among the same number of processes. This means that strong synchronization primitives are needed to support atomic auditing. We give implementations of atomic audit when there are either multiple readers or multiple auditors (but not both) using primitives with consensus number 2 (swap and fetch&add). When there are multiple readers and multiple auditors, the implementation uses compare&swap. These findings motivate a weaker definition, in which audit operations are not linearized together with the write and read operations (regular auditing). We prove that regular auditing can be implemented from ordinary reads and writes on atomic registers.

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

↑