Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switches
Tian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi, Liang Xu, Yisong Qiao, Zhiguo Li, Kun Liu, Jie Lu, Jianyuan Lu, Enge Song, Jiao Zhang
Abstract
The cloud gateway is essential in the public cloud as the central hub of cloud traffic. We show that horizontal scaling of software gateways, once sustainable for years, is no longer future-proof facing the massive scale and rapid growth of today's cloud. The root cause is the stagnant performance of the CPU core, which is prone to be overloaded by heavy hitters as traffic growth goes far beyond Moore's law. To address this, we propose Sailfish, a cloud-scale multi-tenant multi-service gateway accelerated by programmable switches. The new challenge is that large forwarding tables due to multi-tenancy cannot be fit into the limited on-chip memories. To this end, we devise a multi-pronged approach with (1) hardware/software co-design for table sharing, (2) horizontal table splitting among gateway clusters, (3) pipeline-aware table compression for a single node. Compared with the x86 gateway of a similar price, Sailfish reduces latency by 95% (2μs), improves throughput by more than 20x in bps (3.2Tbps) and 71x in pps (1.8Gpps) with packet length < 256B. Sailfish has been deployed in Alibaba Cloud for more than two years. It is the first P4-based cloud gateway in the industry, of which a single cluster carries dozens of Tbps traffic, withstanding peak-hour traffic in large online shopping festivals.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers35
- Disaggregating Stateful Network FunctionsDeepak Bansal, Gerald DeGrace, Rishabh Tewari, Michal Zygmunt et al.NSDI 2023 · 33 citations
- Canal Mesh: A Cloud-Scale Sidecar-Free Multi-Tenant Service Mesh ArchitectureEnge Song, Yang Song, Chengyun Lu, Tian Pan et al.SIGCOMM 2024 · 30 citations
- LuoShen: A Hyper-Converged Programmable Gateway for Multi-Tenant Multi-Service Edge CloudsTian Pan, Kun Liu, Xionglie Wei, Yisong Qiao et al.NSDI 2024 · 27 citations
- Achelous: Enabling Programmability, Elasticity, and Reliability in Hyperscale Cloud NetworksChengkun Wei, Xing Li, Ye Yang, Xiaochong Jiang et al.SIGCOMM 2023 · 25 citations
- Cetus: Releasing P4 Programmers from the Chore of Trial and Error CompilingYifan Li, Jiaqi Gao, Ennan Zhai, Mengqi Liu et al.NSDI 2022 · 22 citations
Builds on3
- TEA: Enabling State-Intensive Network Functions on Programmable SwitchesDaehyeok Kim, Zaoxing Liu, Yibo Zhu, Changhoon Kim et al.SIGCOMM 2020 · 121 citations
- VTrace: Automatic Diagnostic System for Persistent Packet Loss in Cloud-Scale Overlay NetworkChongrong Fang, Haoyu Liu, Mao Miao, Jie Ye et al.SIGCOMM 2020 · 34 citations
- Aragog: Scalable Runtime Verification of Shardable Networked SystemsNofel Yaseen, Behnaz Arzani, Ryan Beckett, Selim Ciraci et al.OSDI 2020 · 19 citations
Related papers
- Sirius: Composing Network Function Chains into P4-Capable Edge GatewaysJiaqi Gao, Jiamin Cao, Yifan Li, Mengqi Liu et al.NSDI 2024 · 11 citations
- Albatross: A Containerized Cloud Gateway Platform with FPGA-accelerated Packet-level Load BalancingJianyuan Lu, Shunmin Zhu, Jun Liang, Yuxiang Lin et al.SIGCOMM 2025 · 4 citations
- ScalaTap: Scalable Outbound Rate Limiting in Public CloudZhongjie Chen, Yingchen Fan, Kun Qian, Qingkai Meng et al.INFOCOM 2025 · 3 citations
- TGW: Operating an Efficient and Resilient Cloud Gateway at ScaleYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi et al.USENIX ATC 2025
- CStar Gateway: Augmenting Public Cloud Infrastructure for Heterogeneous Network Function VirtualizationHaonan Li, Tian Pan, Jin Ke, Baohai Hu et al.NSDI 2026
