Fast In-Memory Transaction Processing Using RDMA and HTM

Author:

Chen Haibo1ORCID,Chen Rong1,Wei Xingda1,Shi Jiaxin1,Chen Yanzhe1,Wang Zhaoguo1,Zang Binyu1,Guan Haibing1

Affiliation:

1. Shanghai Jiao Tong University, Shanghai, China

Abstract

DrTM is a fast in-memory transaction processing system that exploits advanced hardware features such as remote direct memory access (RDMA) and hardware transactional memory (HTM). To achieve high efficiency, it mostly offloads concurrency control such as tracking read/write accesses and conflict detection into HTM in a local machine and leverages the strong consistency between RDMA and HTM to ensure serializability among concurrent transactions across machines. To mitigate the high probability of HTM aborts for large transactions, we design and implement an optimized transaction chopping algorithm to decompose a set of large transactions into smaller pieces such that HTM is only required to protect each piece. We further build an efficient hash table for DrTM by leveraging HTM and RDMA to simplify the design and notably improve the performance. We describe how DrTM supports common database features like read-only transactions and logging for durability. Evaluation using typical OLTP workloads including TPC-C and SmallBank shows that DrTM has better single-node efficiency and scales well on a six-node cluster; it achieves greater than 1.51, 34 and 5.24, 138 million transactions per second for TPC-C and SmallBank on a single node and the cluster, respectively. Such numbers outperform a state-of-the-art single-node system (i.e., Silo) and a distributed transaction system (i.e., Calvin) by at least 1.9X and 29.6X for TPC-C.

Funder

Top-Notch Youth Talents Program of China, Shanghai Science and Technology Development Fund

Zhangjiang Hi-Tech Program

National Key Research 8 Development Program of China

China National Natural Science Foundation

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Cited by 21 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Database Deadlock Diagnosis for Large-Scale ORM-Based Web Applications;2023 IEEE 39th International Conference on Data Engineering (ICDE);2023-04

2. Cooperative Concurrency Control for Write-Intensive Key-Value Workloads;Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1;2022-12-19

3. The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems;Proceedings of the ACM SIGOPS 28th Symposium on Operating Systems Principles CD-ROM;2021-10-26

4. XStore : Fast RDMA-Based Ordered Key-Value Store Using Remote Learned Cache;ACM Transactions on Storage;2021-08-31

5. CoRM;Proceedings of the 2021 International Conference on Management of Data;2021-06-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3