Recipe:硬件加速的复制协议
Recipe: Hardware-Accelerated Replication Protocols
AI总结:
针对不可信云环境中CFT协议无法应对拜占庭行为、BFT协议性能开销大的问题,本文提出Recipe方法,结合现代云硬件将CFT协议安全转换为BFT协议,实现24倍吞吐量提升,兼具低开销与机密性。
摘要:
复制协议是分布式系统的核心,保障一致性、可靠性与容错性。传统崩溃容错(CFT)协议基于故障停止模型,无法应对不可信云环境中攻击者或软件漏洞引发的拜占庭行为。拜占庭容错(BFT)协议虽能解决此类威胁,但面临性能、资源开销及可扩展性挑战。本文提出Recipe,一种无需修改CFT核心逻辑即可将其安全转换至拜占庭环境的新方法。Recipe结合现代云硬件(多核心服务器、RDMA网络、可信执行环境TEE)重新设计CFT协议,利用这些技术提升不可信环境中复制协议的安全性与性能。Recipe通过TEE和高性能网络栈(如RDMA、DPDK)实现两种关键安全机制:可转移认证和非 equivocation,确保任何CFT协议能转化为BFT协议并保证真实性与非 equivocation。Recipe协议包含五个核心组件:可转移认证、初始化、正常运行、视图变更和恢复阶段,其正确性已通过符号模型检查工具Tamarin形式化验证。Recipe以库形式实现,已成功将四种主流CFT协议(Raft、Chain Replication、ABD、AllConcur)转换至拜占庭环境,实验结果显示其吞吐量较PBFT提升24倍,性能较最先进BFT协议提升5.9倍,且所需副本更少、具备传统BFT协议缺失的机密性。
英文摘要:
Replication protocols are essential for distributed systems, ensuring consistency, reliability, and fault tolerance. Traditional Crash Fault Tolerant (CFT) protocols, which assume a fail-stop model, are inadequate for untrusted cloud environments where adversaries or software bugs can cause Byzantine behavior. Byzantine Fault Tolerant (BFT) protocols address these threats but face significant performance, resource overheads, and scalability challenges. This paper introduces Recipe, a novel approach to transforming CFT protocols to operate securely in Byzantine settings without altering their core logic. Recipe rethinks CFT protocols in the context of modern cloud hardware, including many-core servers, RDMA-capable networks, and Trusted Execution Environments (TEEs). The approach leverages these advancements to enhance the security and performance of replication protocols in untrusted cloud environments. Recipe implements two practical security mechanisms, i.e., transferable authentication and non-equivocation, using TEEs and high-performance networking stacks (e.g., RDMA, DPDK). These mechanisms ensure that any CFT protocol can be transformed into a BFT protocol, guaranteeing authenticity and non-equivocation. The Recipe protocol consists of five key components: transferable authentication, initialization, normal operation, view change, and recovery phases. The protocol's correctness is formally verified using Tamarin, a symbolic model checker. Recipe is implemented as a library and applied to transform four widely used CFT protocols-Raft, Chain Replication, ABD, and AllConcur-into Byzantine settings. The results demonstrate up to 24x higher throughput compared to PBFT and 5.9x better performance than state-of-the-art BFT protocols. Additionally, Recipe requires fewer replicas and offers confidentiality, a feature absent in traditional BFT protocols.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。