在拜占庭故障系统中从SWSR寄存器实现SWMR寄存器
On implementing SWMR registers from SWSR registers in systems with Byzantine failures
摘要:
从(潜在的)较弱寄存器实现寄存器是分布式计算理论中的一个经典问题。自从Lamport的开创性工作[13]以来,这个问题已经在具有崩溃故障的异步进程的上下文中得到了广泛的研究。在本文中,我们调查这个问题的背景下,拜占庭进程失败,有和没有进程签名。我们首先证明,如果没有签名,没有等待免费的线性化实现的1-writer n-reader寄存器从原子1-writer 1-reader寄存器。事实上,我们展示了一个更强的结果,即,即使在写入器只能崩溃并且最多一个读取器可能是恶意的假设下,也没有从原子1-写入器(n-1)-读取器寄存器中线性化实现1-写入器n-读取器寄存器,以确保每个正确的进程最终完成其操作。鉴于这一不可能的结果,我们给出了两个实现的1-writer n-reader寄存器从原子1-writer 1-reader寄存器,在不同的假设下工作。第一种实现是可线性化的(在任何进程失败的组合下),但它保证每个正确的进程只有在编写者是正确的或没有读取者是恶意的假设下才能最终完成其操作--从而匹配不可能的结果。第二个实现假设流程签名;它是有界的、无等待的,并且在任何流程故障组合下都是线性的。最后,我们表明,如果没有进程签名,即使我们假设作者是正确的,最多有一个读者可以是恶意的,它是不可能保证每个正确的读者完成每个读操作在有限数量的步骤。
英文摘要:
The implementation of registers from (potentially) weaker registers is a classical problem in the theory of distributed computing. Since Lamport's pioneering work [13], this problem has been extensively studied in the context of asynchronous processes with crash failures. In this paper, we investigate this problem in the context of Byzantine process failures, with and without process signatures. We first prove that, without signatures, there is no wait-free linearizable implementation of a 1-writer n-reader register from atomic 1-writer 1-reader registers. In fact, we show a stronger result, namely, even under the assumption that the writer can only crash and at most one reader can be malicious, there is no linearizable implementation of a 1-writer n-reader register from atomic 1-writer (n-1)-reader registers that ensures that every correct process eventually completes its operations. In light of this impossibility result, we give two implementations of a 1-writer n-reader register from atomic 1-writer 1-reader registers that work under different assumptions. The first implementation is linearizable (under any combination of process failures), but it guarantees that every correct process eventually completes its operations only under the assumption that the writer is correct or no reader is malicious -- thus matching the impossibility result. The second implementation assumes process signatures; it is bounded wait-free and linearizable under any combination of process failures. Finally, we show that without process signatures, even if we assume that the writer is correct and at most one of the readers can be malicious, it is impossible to guarantee that every correct reader completes each read operation in a bounded number of steps.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。