P4DB - The Case for In-Network OLTP
Matthias Jasny, Lasse Thostrup, Tobias Ziegler, Carsten Binnig
Abstract
In this paper we present a new approach for distributed DBMSs called P4DB, that uses a programmable switch to accelerate OLTP workloads. The main idea of P4DB is that it implements a transaction processing engine on top of a P4-programmable switch. The switch can thus act as an accelerator in the network, especially when it is used to store and process hot (contended) tuples on the switch. In our experiments, we show that P4DB hence provides significant benefits compared to traditional DBMS architectures and can achieve a speedup of up to 8x.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MTP: Transport for In-Network Computing cites Xenic: SmartNIC-Accelerated Distributed Transactions
- GraphINC: Graph Pattern Mining at Network Speed cites Cheetah: Accelerating Database Queries with Switch Pruning
- GraphINC: Graph Pattern Mining at Network Speed cites Harmonia: Near-Linear Scalability for Replicated Storage with In-Network Conflict Detection
- SwitchTx: Scalable In-Network Coordination for Distributed Transaction Processing cites Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
- Pushing the Limits of In-Network Caching for Key-Value Stores cites Harmonia: Near-Linear Scalability for Replicated Storage with In-Network Conflict Detection
- Pushing the Limits of In-Network Caching for Key-Value Stores cites SwitchTx: Scalable In-Network Coordination for Distributed Transaction Processing
- Pushing the Limits of In-Network Caching for Key-Value Stores cites NetLock: Fast, Centralized Lock Management Using Programmable Switches
- NetLock: Fast, Centralized Lock Management Using Programmable Switches cites Harmonia: Near-Linear Scalability for Replicated Storage with In-Network Conflict Detection
Cited by top-tier papers8
- SwitchTx: Scalable In-Network Coordination for Distributed Transaction ProcessingJunru Li, Youyou Lu, Yiming Zhang, Qing Wang et al.VLDB 2022 · 11 citations
- MTP: Transport for In-Network ComputingTao Ji, Rohan Vardekar, Balajee Vamanan, Brent E. Stephens et al.NSDI 2025 · 9 citations
- Pushing the Limits of In-Network Caching for Key-Value StoresGyuyeong KimNSDI 2025 · 9 citations
- GraphINC: Graph Pattern Mining at Network SpeedRana Hussein, Alberto Lerner, André Ryser, Lucas David Bürgi et al.SIGMOD 2023 · 7 citations
- Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction ProtocolZiliang Lai, Hua Fan, Wenchao Zhou, Zhanfeng Ma et al.ICDE 2023 · 6 citations
Builds on6
- Xenic: SmartNIC-Accelerated Distributed TransactionsHenry N. Schuh, Weihao Liang, Ming Liu, Jacob Nelson et al.SOSP 2021 · 62 citations
- NetLock: Fast, Centralized Lock Management Using Programmable SwitchesZhuolong Yu, Yiwen Zhang, Vladimir Braverman, Mosharaf Chowdhury et al.SIGCOMM 2020 · 60 citations
- Harmonia: Near-Linear Scalability for Replicated Storage with In-Network Conflict DetectionHang Zhu, Zhihao Bai, Jialin Li, Ellis Michael et al.VLDB 2020 · 58 citations
- Cheetah: Accelerating Database Queries with Switch PruningMuhammad Tirmazi, Ran Ben Basat, Jiaqi Gao, Minlan YuSIGMOD 2020 · 47 citations
- Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 citations
Related papers
- In-Network Support for Transaction TriagingTheo Jepsen, Alberto Lerner, Fernando Pedone, Robert Soulé et al.VLDB 2021 · 19 citations
- P4KVS: A Role-Replica Separation Offloading Method to Achieve In-Network Consistency for KV Stores Based on P4 SwitchesHaojuan Li, Zongpu Zhang, Chenzhen Ye, Ruohan Tang et al.SIGMOD 2026
- Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence DirectoriesJialin Li, Jacob Nelson, Ellis Michael, Xin Jin et al.OSDI 2020 · 96 citations
- GaccO - A GPU-accelerated OLTP DBMSNils Boeschen, Carsten BinnigSIGMOD 2022 · 18 citations
- Rethink Query Optimization in HTAP DatabasesHaoze Song, Wenchao Zhou, Feifei Li, Xiang Peng et al.SIGMOD 2024 · 7 citations
