Low-Latency Communication for Fast DBMS Using RDMA and Shared Memory
Philipp Fent, Alexander van Renen, Andreas Kipf, Viktor Leis, Thomas Neumann, Alfons Kemper
摘要
While hardware and software improvements greatly accelerated modern database systems' internal operations, the decades-old stream-based Socket API for external communication is still unchanged. We show experimentally, that for modern high-performance systems networking has become a performance bottleneck. Therefore, we argue that the communication stack needs to be redesigned to fully exploit modern hardware-as has already happened to most other database system components.
We propose L5, a high-performance communication layer for database systems. L5 rethinks the flow of data in and out of the database system and is based on direct memory access techniques for intra-datacenter (RDMA) and intra-machine communication (Shared Memory). With L5, we provide a building block to accelerate ODBC-like interfaces with a unified and messagebased communication framework. Our results show that using interconnects like RDMA (InfiniBand), RoCE (Ethernet), and Shared Memory (IPC), L5 can largely eliminate the network bottleneck for database systems. This paper's contributions are as follows: 1) We introduce L5 as a unified communication interface
to address the problems with adaptive switching of traditional protocols with direct memory access (Section II). 2) We provide an efficient implementation of local communication using Shared Memory (Section III). 3) We show that a high-performance implementation using RDMA can provide similar performance within a data center (Section IV). 4) We demonstrate in microbenchmarks and in an end-toend evaluation based on YCSB [13] that we can reach one million transactions per second with just a single client (Section V).
The network bottleneck makes it necessary to redesign the communication stack of data management systems. As a core building block, we present L5 (Low-Level, Low-Latency Library). L5 provides (1) high transaction throughput for small payloads, (2) optimal performance with few clients, and (3) a unified interface for adaptive selection of the best available communication technology. Furthermore, L5 provides very low latency without relying on batching at the application level.
L5 achieves this by bootstrapping high-performance connections via regular Sockets, but then switches to a faster communication channel. For intra-machine communication, e.g., on a container host, L5 upgrades the connection to use Shared Memory. For intra-datacenter communication, we instead upgrade the connection to RDMA, all while providing the same interface, no matter the underlying implementation.
In the following, we provide an extensive analysis and evaluation of database interconnects and document an optimized direct memory access protocol for low latency database system communication.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper12
- ScaleStore: A Fast and Cost-Efficient Storage Engine using DRAM, NVMe, and RDMATobias Ziegler, Carsten Binnig, Viktor LeisSIGMOD 2022 · 被引用 51 次
- Nova-LSM: A Distributed, Component-based LSM-tree Key-value StoreHaoyu Huang, Shahram GhandeharizadehSIGMOD 2021 · 被引用 47 次
- Design Guidelines for Correct, Efficient, and Scalable Synchronization using One-Sided RDMATobias Ziegler, Jacob Nelson-Slivon, Viktor Leis, Carsten BinnigSIGMOD 2023 · 被引用 32 次
- HatRPC: hint-accelerated thrift RPC over RDMATianxi Li, Haiyang Shi, Xiaoyi LuSC 2021 · 被引用 18 次
- A Study of Database Performance Sensitivity to Experiment SettingsYang Wang, Miao Yu, Yujie Hui, Fang Zhou 等VLDB 2022 · 被引用 13 次
相关 Paper
- Tux: Efficient Drop-in Networking for Database SystemsXinjing Zhou, Viktor Leis, Xiangyao Yu, Michael StonebrakerVLDB 2026 · 被引用 1 次
- In-Network Support for Transaction TriagingTheo Jepsen, Alberto Lerner, Fernando Pedone, Robert Soulé 等VLDB 2021 · 被引用 19 次
- RB2: Narrow the Gap between RDMA Abstraction and Performance via a Middle LayerHaifeng Sun, Yixuan Tan, Yongtong Wu, Jiaqi Zhu 等INFOCOM 2024 · 被引用 1 次
- High-Performance DBMSs with io_uring: When and How to Use ItMatthias Jasny, Muhammad El-Hindi, Tobias Ziegler, Viktor Leis 等VLDB 2026 · 被引用 5 次
- Birds of a Feather Flock Together: Scaling RDMA RPCs with FlockSumit Kumar Monga, Sanidhya Kashyap, Changwoo MinSOSP 2021 · 被引用 34 次
