Reducing Tail Latency in Storage-Disaggregated Database Systems
Xi Pang, Jianguo Wang
摘要
Storage-disaggregated databases have become the standard in the cloud due to many benefits, including improved resource utilization, reduced resource fragmentation, and the ability to independently and elastically scale compute and storage, ultimately leading to cost savings. This work focuses on OLTP databases. Examples include Amazon Aurora, Microsoft Socrates, and Neon. However, a significant limitation we have identified in storage-disaggregated databases is the long tail latency. This issue arises from the unique architecture of these databases, specifically the log-as-the-database design principle. Under this design, when a transaction is committed, only the logs are sent to the storage engine over the network to minimize data movement, while the actual pages are replayed on the storage side. Thus, certain page requests may encounter a lengthy log replay chain, which lead to long latency.
In this paper, we introduce a novel technique called Replay-as-a-Service (RaaS) to address the high tail latency issue in storage-disaggregated databases. The main idea behind RaaS is to decouple the log replay logic from the storage engine and make it as an independent service. This approach provides the flexibility to utilize idle servers or even dedicated servers within the cluster to efficiently execute the log replay. To enable this, we introduce a suite of techniques and optimizations to address key technical challenges. We have implemented the RaaS technique within OpenAurora, an open-source storage-disaggregated database based on PostgreSQL. Experiments on SysBench show that RaaS reduces P95 tail latency by 40.1% and improves the overall throughput by 75.9%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DART: A Lock-free Two-layer Hashed ART Index for Disaggregated Memory 引用了 The Case for Distributed Shared-Memory Databases with RDMA-Enabled Memory Disaggregation
- DART: A Lock-free Two-layer Hashed ART Index for Disaggregated Memory 引用了 Understanding the Performance Implications of the Design Principles in Storage-Disaggregated Databases
- Understanding the Performance Implications of the Design Principles in Storage-Disaggregated Databases 引用了 Building An Elastic Query Engine on Disaggregated Storage
- Understanding the Performance Implications of the Design Principles in Storage-Disaggregated Databases 引用了 The Case for Distributed Shared-Memory Databases with RDMA-Enabled Memory Disaggregation
引用它的顶会 Paper1
它引用的 Paper8
- Building An Elastic Query Engine on Disaggregated StorageMidhul Vuppalapati, Justin Miron, Rachit Agarwal, Dan Truong 等NSDI 2020 · 142 次引用
- The Case for Distributed Shared-Memory Databases with RDMA-Enabled Memory DisaggregationRuihong Wang, Jianguo Wang, Stratos Idreos, M. Tamer Özsu 等VLDB 2023 · 49 次引用
- The Composable Data Management System ManifestoPedro Pedreira, Orri Erling, Konstantinos Karanasos, Scott Schneider 等VLDB 2023 · 36 次引用
- Enabling Low Tail Latency on Multicore Key-Value StoresLucas Lersch, Ivan Schreter, Ismail Oukid, Wolfgang LehnerVLDB 2020 · 30 次引用
- Understanding the Performance Implications of the Design Principles in Storage-Disaggregated DatabasesXi Pang, Jianguo WangSIGMOD 2024 · 19 次引用
相关 Paper
- Concurrency Control as a ServiceWeixing Zhou, Yanfeng Zhang, Xinji Zhou, Zhiyou Wang 等VLDB 2025
- Cornus: Atomic Commit for a Cloud DBMS with Storage DisaggregationZhihan Guo, Xinyu Zeng, Kan Wu, Wuh-Chwen Hwang 等VLDB 2023 · 23 次引用
- Understanding and Optimizing Database Pushdown on Disaggregated StorageHua Zhang, Xiao Li, Yuebin Bai, Ming LiuASPLOS 2026 · 1 次引用
- Persistent Memory Disaggregation for Cloud-Native Relational DatabasesChaoyi Ruan, Yingqiang Zhang, Chao Bi, Xiaosong Ma 等ASPLOS 2023 · 24 次引用
- CaaS-LSM: Compaction-as-a-Service for LSM-based Key-Value Stores in Storage Disaggregated InfrastructureQiaolin Yu, Chang Guo, Jay Zhuang, Viraj Thakkar 等SIGMOD 2024 · 18 次引用
