SwitchTx: Scalable In-Network Coordination for Distributed Transaction Processing
Junru Li, Youyou Lu, Yiming Zhang, Qing Wang, Zhuo Cheng, Keji Huang, Jiwu Shu
Abstract
Online-transaction-processing (OLTP) applications require the underlying storage system to guarantee consistency and serializability for distributed transactions involving large numbers of servers, which tends to introduce high coordination cost and cause low system performance. In-network coordination is a promising approach to alleviate this problem, which leverages programmable switches to move a piece of coordination functionality into the network. This paper presents a fast and scalable transaction processing system called SwitchTx. At the core of SwitchTx is a decentralized multiswitch in-network coordination mechanism, which leverages modern switches' programmability to reduce coordination cost while avoiding the central-switch-caused problems in the state-of-the-art Eris transaction processing system. SwitchTx abstracts various coordination tasks (e.g., locking, validating, and replicating) as in-switch gather-and-scatter (GaS) operations, and offloads coordination to a tree of switches for each transaction (instead of to a central switch for all transactions) where the client and the participants connect to the leaves. Moreover, to control the transaction traffic intelligently, SwitchTx reorders the coordination messages according to their semantics and redesigns the congestion control combined with admission control. Evaluation shows that SwitchTx outperforms current transaction processing systems in various workloads by up to 2.16× in throughput, 40.4% in latency, and 41.5% in lock time.
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.
4 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
- Switch\Delta: Asynchronous Metadata Updating for Distributed Storage with in-Network Data Visibility cites InfiniFS: An Efficient Metadata Service for Large-Scale Distributed Filesystems
- Switch\Delta: Asynchronous Metadata Updating for Distributed Storage with in-Network Data Visibility cites Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switches
- Switch\Delta: Asynchronous Metadata Updating for Distributed Storage with in-Network Data Visibility cites Pushing the Limits of In-Network Caching for Key-Value Stores
- Performant Synchronization in Geo-Distributed Databases cites Mako: Speculative Distributed Transactions with Geo-Replication
- Mako: Speculative Distributed Transactions with Geo-Replication cites Opportunities for Optimism in Contended Main-Memory Multicore Transactions
Cited by top-tier papers4
- Pushing the Limits of In-Network Caching for Key-Value StoresGyuyeong KimNSDI 2025 · 9 citations
- Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel et al.OSDI 2025 · 4 citations
- Performant Synchronization in Geo-Distributed DatabasesDuling Xu, Tong Li, Zegang Sun, Zheng Chen et al.SIGMOD 2026 · 3 citations
- Switch: Asynchronous Metadata Updating for Distributed Storage with in-Network Data VisibilityJunru Li, Qing Wang, Zhe Yang, Shuo Liu et al.ICDE 2026
Builds on15
- ATP: In-network Aggregation for Multi-tenant LearningChonLam Lao, Yanfang Le, Kshiteej Mahajan, Yixi Chen et al.NSDI 2021 · 359 citations
- Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switchesTian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi et al.SIGCOMM 2021 · 111 citations
- Concordia: Distributed Shared Memory with In-Network Cache CoherenceQing Wang, Youyou Lu, Erci Xu, Junru Li et al.FAST 2021 · 74 citations
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
- InfiniFS: An Efficient Metadata Service for Large-Scale Distributed FilesystemsWenhao Lv, Youyou Lu, Yiming Zhang, Peile Duan et al.FAST 2022 · 52 citations
Related papers
- In-Network Leaderless Replication for Distributed Data StoresGyuyeong Kim, Wonjun LeeVLDB 2022 · 11 citations
- 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
- Fast and Scalable In-network Lock Management Using Lock FissionHanze Zhang, Ke Cheng, Rong Chen, Haibo ChenOSDI 2024 · 9 citations
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional SupportLibin Zhou, Lu Xing, Yeasir Rayhan, Walid G. ArefSIGMOD 2025 · 3 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
