Fast in-memory transaction processing using RDMA and HTM
Xingda Wei, Jiaxin Shi, Yanzhe Chen et al. · Symposium on Operating Systems Principles · 2015
We present DrTM, a fast in-memory transaction processing system that exploits advanced hardware features (i.e., RDMA and HTM) to improve latency and throughput by over one order of magnitude compared to state-of-the-art distributed transaction systems. The high performance of DrTM are enabled by mostly offloading concurrency control within a local machine into HTM and leveraging the strong consistency between RDMA and HTM to ensure serializability among concurrent transactions across machines. 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 show that DrTM scales well on a 6-node cluster and achieves over 5.52 and 138 million transactions per second for TPC-C and SmallBank Respectively. This number outperforms a state-of-the-art distributed transaction system (namely Calvin) by at least 17.9X for TPC-C.
Cited by 276 works. doi:10.1145/2815400.2815419
Authors
References
- Transaction Processing: Concepts and Techniques
- Practical Byzantine fault tolerance
- Concurrency Control in Distributed Database Systems
- Benchmarking cloud serving systems with YCSB
- On optimistic methods for concurrency control
- Leases: an efficient fault-tolerant mechanism for distributed file cache consistency
- ZooKeeper: wait-free coordination for internet-scale systems
- X10
- Software transactional memory
- Paxos made live