SwitchTx: Scalable In-Network Coordination for Distributed Transaction Processing
Junru Li, Youyou Lu, Yiming Zhang, Qing Wang, Zhuo Cheng, Keji Huang, Jiwu Shu
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Switch\Delta: Asynchronous Metadata Updating for Distributed Storage with in-Network Data Visibility 引用了 InfiniFS: An Efficient Metadata Service for Large-Scale Distributed Filesystems
- Switch\Delta: Asynchronous Metadata Updating for Distributed Storage with in-Network Data Visibility 引用了 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 引用了 Pushing the Limits of In-Network Caching for Key-Value Stores
- Performant Synchronization in Geo-Distributed Databases 引用了 Mako: Speculative Distributed Transactions with Geo-Replication
- Mako: Speculative Distributed Transactions with Geo-Replication 引用了 Opportunities for Optimism in Contended Main-Memory Multicore Transactions
引用它的顶会 Paper4
- Pushing the Limits of In-Network Caching for Key-Value StoresGyuyeong KimNSDI 2025 · 9 次引用
- Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel 等OSDI 2025 · 4 次引用
- Performant Synchronization in Geo-Distributed DatabasesDuling Xu, Tong Li, Zegang Sun, Zheng Chen 等SIGMOD 2026 · 3 次引用
- Switch: Asynchronous Metadata Updating for Distributed Storage with in-Network Data VisibilityJunru Li, Qing Wang, Zhe Yang, Shuo Liu 等ICDE 2026
它引用的 Paper15
- ATP: In-network Aggregation for Multi-tenant LearningChonLam Lao, Yanfang Le, Kshiteej Mahajan, Yixi Chen 等NSDI 2021 · 359 次引用
- Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switchesTian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi 等SIGCOMM 2021 · 111 次引用
- Concordia: Distributed Shared Memory with In-Network Cache CoherenceQing Wang, Youyou Lu, Erci Xu, Junru Li 等FAST 2021 · 74 次引用
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 60 次引用
- InfiniFS: An Efficient Metadata Service for Large-Scale Distributed FilesystemsWenhao Lv, Youyou Lu, Yiming Zhang, Peile Duan 等FAST 2022 · 52 次引用
相关 Paper
- In-Network Leaderless Replication for Distributed Data StoresGyuyeong Kim, Wonjun LeeVLDB 2022 · 11 次引用
- Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence DirectoriesJialin Li, Jacob Nelson, Ellis Michael, Xin Jin 等OSDI 2020 · 96 次引用
- Fast and Scalable In-network Lock Management Using Lock FissionHanze Zhang, Ke Cheng, Rong Chen, Haibo ChenOSDI 2024 · 9 次引用
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional SupportLibin Zhou, Lu Xing, Yeasir Rayhan, Walid G. ArefSIGMOD 2025 · 3 次引用
- 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 等SIGMOD 2026
