SafarDB:通过复制数据类型实现FPGA加速的分布式事务
SafarDB: FPGA-Accelerated Distributed Transactions via Replicated Data Types
AI总结:
研究利用FPGA加速分布式事务,通过设计网络连接的FPGA复制引擎,实现近网络执行复制事务等,介绍SafarDB,加速冲突无关复制数据类型及相关,提升性能并增强抗故障能力。
摘要:
数据复制对数据中心设计至关重要,副本需协调。交换式复制数据类型(RDT)和协调良好的复制数据类型(WRDT)可提供收敛性。本文将FPGA加速卡直接连网络,设计网络连接的FPGA复制引擎,介绍SafarDB,加速复制路径,提升性能且增强抗故障能力。
英文摘要:
Data replication is critical to data center design, ensuring high availability, scalability, and fault tolerance. However, replicas must be coordinated to maintain convergence and database integrity constraints under transactional workloads. Commutative Replicated Data Types (RDTs) provide convergence for conflict-free objects using relaxed consistency, and Well-coordinated Replicated Data Types (WRDTs) provide convergence and integrity for general objects using a hybrid model, relaxed when possible and strong when necessary. While state-of-the-art RDT hardware acceleration uses Remote Direct Memory Access (RDMA), recent data center architectures increasingly leverage FPGAs as application accelerators to achieve lower latency and higher throughput. In contrast to deploying an FPGA-based SmartNIC, this paper connects an FPGA accelerator card directly to the network, allowing a complete redesign of the NIC to match the needs of the FPGA-hosted application. We co-design a network-attached FPGA replication engine with an FPGA-resident network interface, enabling near-network execution of replicated transactions and direct invocation of FPGA-resident operators. We introduce SafarDB, an FPGA-accelerated system for Conflict-Free Replicated Data Types (CRDTs) and WRDTs. SafarDB accelerates relaxed and strongly ordered replication paths; when strong ordering is required, SafarDB accelerates the underlying consensus control path. In FPGA-only CRDT and WRDT experiments where the complete application state fits in FPGA-resident memory, SafarDB provides lower average response time and higher average throughput than a state-of-the-art RDMA-based implementation. Further, experiments demonstrate that SafarDB is more resilient to crash failures than existing CPU/RDMA-based CRDT and WRDT implementations, and SafarDB can detect leader failures and elect new leaders much faster than previously possible.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。