基于(RDMA或CXL)分离式内存且支持可修复事务的事务性索引
Transactional Indexes on (RDMA or CXL-based) Disaggregated Memory with Repairable Transaction
AI总结:
本文提出可修复事务原语rTX,通过实时检测并在线修复失败操作的非原子更新,在分离式内存索引上以低开销实现失败原子性与隔离性,并在RaceHashing和Sherman上验证其性能优势。
摘要:
客户端操作的失败原子性与隔离执行,是在服务器上服务多个松耦合客户端的系统的默认要求。然而,分离式内存打破了远程索引中的这一要求,因为一个客户端操作被分解为多个远程读/写。当前索引主要关注性能提升,并在很大程度上忽略了容忍客户端故障。我们认为,实用的分离式内存索引应当是事务性的:每个索引操作除了并发隔离之外,还应具备失败原子性和隔离性。我们提出了可修复事务(rTX),这是一种用于执行分离式内存索引操作的轻量级原语。每个rTX都能在并发控制的帮助下实时检测其他失败的rTX。一旦检测到,它将借助日志记录在线修复这些rTX的非原子更新,从而向健康客户端隐藏其故障。通过进一步去除不必要的日志记录,并将并发控制委托给现有经过精心调优的索引算法,我们证明了事务性索引可以在分离式内存上以较低的性能开销构建。我们使用rTX重构了两个最先进的分离式内存索引:RaceHashing和Sherman(B+树)。评估表明,rTX比其他替代方案(例如分布式事务)快1.2到2倍。同时,与无容错索引相比,其开销最高为42%。
英文摘要:
The failure atomic and isolated execution of clients operations is a default requirement for a system that serve multiple loosely coupled clients at a server. However, disaggregated memory breaks this requirement in remote indexes because a client operation is disaggregated to multiple remote reads/writes. Current indexes focus on performance improvements and largely ignore tolerating client failures. We argue that a practical DM index should be transactional: each index operation should be failure atomic and isolated in addition to being concurrency isolated. We present repairable transaction (rTX), a lightweight primitive to execute DM index operations. Each rTX can detect other failed rTXes on-the-fly with the help of concurrency control. Upon detection, it will repair their non-atomic updates online with the help of logging, thus hiding their failures from healthy clients. By further removing unnecessary logging and delegating concurrency control to existing carefully-tuned index algorithms, we show that transactional indexes can be built at a low performance overhead on disaggregated memory. We have refactored two state-of-the-art DM indexes, RaceHashing and Sherman (B+Tree), with rTX. Evaluations show that rTX is 1.2 to 2X faster than other alternatives, e.g., distributed transaction. Meanwhile, its overhead is up to 42% compared to non-fault-tolerant indexes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。