SwiSh: Distributed Shared State Abstractions for Programmable Switches
Lior Zeno, Dan R. K. Ports, Jacob Nelson, Daehyeok Kim, Shir Landau Feibish, Idit Keidar, Arik Rinberg, Alon Rashelbach, Igor Lima de Paula, Mark Silberstein
摘要
We design and evaluate SwiSh, a distributed shared state management layer for data-plane P4 programs. SwiSh enables running scalable stateful distributed network functions on programmable switches entirely in the data-plane. We explore several schemes to build a shared variable abstraction, which differ in consistency, performance, and in-switch implementation complexity. We introduce the novel Strong Delayed-Writes (SDW) protocol which offers consistent snapshots of shared data-plane objects with semantics known as -relaxed strong linearizability, enabling implementation of distributed concurrent sketches with precise error bounds.
We implement strong, eventual, and SDW consistency protocols in Tofino switches, and compare their performance in microbenchmarks and three realistic network functions, NAT, DDoS detector, and rate limiter. Our results show that the distributed state management in the data plane is practical, and outperforms centralized solutions by up to four orders of magnitude in update throughput and replication latency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MTP: Transport for In-Network Computing 引用了 RedPlane: enabling fault-tolerant stateful in-switch applications
- MTP: Transport for In-Network Computing 引用了 Scaling Distributed Machine Learning with In-Network Aggregation
- RedPlane: enabling fault-tolerant stateful in-switch applications 引用了 Cheetah: Accelerating Database Queries with Switch Pruning
- RedPlane: enabling fault-tolerant stateful in-switch applications 引用了 Ripple: A Programmable, Decentralized Link-Flooding Defense Against Adaptive Adversaries
- Empower Programmable Pipeline for Advanced Stateful Packet Processing 引用了 Ripple: A Programmable, Decentralized Link-Flooding Defense Against Adaptive Adversaries
- Hydra: Serialization-Free Network Ordering for Strongly Consistent Distributed Applications 引用了 RedPlane: enabling fault-tolerant stateful in-switch applications
引用它的顶会 Paper8
- Hydra: Serialization-Free Network Ordering for Strongly Consistent Distributed ApplicationsInho Choi, Ellis Michael, Yunfan Li, Dan R. K. Ports 等NSDI 2023 · 21 次引用
- MTP: Transport for In-Network ComputingTao Ji, Rohan Vardekar, Balajee Vamanan, Brent E. Stephens 等NSDI 2025 · 9 次引用
- Empower Programmable Pipeline for Advanced Stateful Packet ProcessingYong Feng, Zhikang Chen, Haoyu Song, Yinchao Zhang 等NSDI 2024 · 8 次引用
- NetShuffle: Circumventing Censorship with Shuffle Proxies at the EdgePatrick Tser Jern Kon, Aniket Gattani, Dhiraj Saharia, Tianyu Cao 等S&P 2024 · 6 次引用
- High-level Programming for Application NetworksXiangfeng Zhu, Yuyao Wang, Banruo Liu, Yongtong Wu 等NSDI 2025 · 6 次引用
它引用的 Paper6
- Ripple: A Programmable, Decentralized Link-Flooding Defense Against Adaptive AdversariesJiarong Xing, Wenqing Wu, Ang ChenUSENIX Security 2021 · 100 次引用
- Cheetah: Accelerating Database Queries with Switch PruningMuhammad Tirmazi, Ran Ben Basat, Jiaqi Gao, Minlan YuSIGMOD 2020 · 47 次引用
- RedPlane: enabling fault-tolerant stateful in-switch applicationsDaehyeok Kim, Jacob Nelson, Dan R. K. Ports, Vyas Sekar 等SIGCOMM 2021 · 33 次引用
- Fast concurrent data sketchesArik Rinberg, Alexander Spiegelman, Edward Bortnikov, Eshcar Hillel 等PPoPP 2020 · 4 次引用
- Scaling Distributed Machine Learning with In-Network AggregationAmedeo Sapio, Marco Canini, Chen-Yu Ho, Jacob Nelson 等NSDI 2021
相关 Paper
- Lucid: a language for control in the data planeJohn Sonchack, Devon Loehr, Jennifer Rexford, David WalkerSIGCOMM 2021 · 45 次引用
- P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi 等SIGCOMM 2024 · 12 次引用
- Safe, modular packet pipeline programmingDevon Loehr, David WalkerPOPL 2022 · 6 次引用
- Multitenant In-Network Acceleration with SwitchVMSajy Khashab, Alon Rashelbach, Mark SilbersteinNSDI 2024 · 21 次引用
- FarReach: Write-back Caching in Programmable SwitchesSiyuan Sheng, Huancheng Puyang, Qun Huang, Lu Tang 等USENIX ATC 2023 · 22 次引用
