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

超越最优容错性

Beyond Optimal Fault Tolerance

Andrew Lewis-Pye, Tim Roughgarden

AI总结:

该研究放宽SMR协议的一致性要求,引入可恢复容错概念,证明在攻击时段消息延迟有界的假设下,可实现优于传统最优的容错性,并给出匹配的上下界与通用恢复方案。

摘要:

在广泛的场景中,任何协议所能实现的最优容错性都已得到表征。例如,对于在部分同步场景下运行的状态机复制(SMR)协议,当且仅当$α+ 2β≤1$时,才能同时保证针对$α$-有界对手(即控制少于$α$比例参与者的对手)的一致性,以及针对$β$-有界对手的活性。\n本文表征了当标准一致性要求被放宽,允许有界数量$r$的一致性违规时,SMR协议能够在多大程度上实现“优于最优”的容错性保证。我们证明,在没有额外时序假设的情况下,有界回滚是不可能的,并研究了在攻击发生前后的消息延迟受参数$Δ^*$(该参数可以任意大于部分同步模型中限制GST后消息延迟的参数$Δ$)约束时,能够容忍一致性违规并从中恢复的协议。在此情况下,协议的容错性可以是$r$的非常数函数,并且我们证明了对于每个$r$,任何SMR协议所能实现的最优“可恢复容错性”都存在匹配的上界和下界。例如,对于在部分同步场景下保证针对1/3-有界对手的活性的协议,5/9-有界对手总能造成1次一致性违规,但无法造成2次;而2/3-有界对手总能造成2次一致性违规,但无法造成3次。我们的正面结果通过一种通用的“恢复程序”实现,该程序可以嫁接到任何可问责的SMR协议上,在发生违规后恢复一致性,同时仅回滚在之前$2Δ^*$时间步长内完成确认的交易。

英文摘要:

The optimal fault-tolerance achievable by any protocol has been characterized in a wide range of settings. For example, for state machine replication (SMR) protocols operating in the partially synchronous setting, it is possible to simultaneously guarantee consistency against $α$-bounded adversaries (i.e., adversaries that control less than an $α$ fraction of the participants) and liveness against $β$-bounded adversaries if and only if $α+ 2β\leq 1$. This paper characterizes to what extent "better-than-optimal" fault-tolerance guarantees are possible for SMR protocols when the standard consistency requirement is relaxed to allow a bounded number $r$ of consistency violations. We prove that bounding rollback is impossible without additional timing assumptions and investigate protocols that tolerate and recover from consistency violations whenever message delays around the time of an attack are bounded by a parameter $Δ^*$ (which may be arbitrarily larger than the parameter $Δ$ that bounds post-GST message delays in the partially synchronous model). Here, a protocol's fault-tolerance can be a non-constant function of $r$, and we prove, for each $r$, matching upper and lower bounds on the optimal "recoverable fault-tolerance" achievable by any SMR protocol. For example, for protocols that guarantee liveness against 1/3-bounded adversaries in the partially synchronous setting, a 5/9-bounded adversary can always cause one consistency violation but not two, and a 2/3-bounded adversary can always cause two consistency violations but not three. Our positive results are achieved through a generic "recovery procedure" that can be grafted on to any accountable SMR protocol and restores consistency following a violation while rolling back only transactions that were finalized in the previous $2Δ^*$ timesteps.

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

↑