TGW: Operating an Efficient and Resilient Cloud Gateway at Scale
Yifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi, Yichi Xu, Shicheng Wang, Jinlong E, Ying Liu, Junwei Zhang, Zhuang Yuan, Hengyang Xu
Abstract
Large-scale cloud data centers have become a critical Internet infrastructure. As the cloud entrance, today's cloud gateways have integrated multiple functions such as elastic public access and load balancing to cope with the rapid growth of services and requirements. To meet the demands of largescale clouds for efficient packet forwarding, scalable state management, and high resilience, we design, deploy, and operate Tencent Gateway (TGW), an efficient and resilient cloud gateway at scale. Compared to other large cloud providers that primarily offer services like search, e-commerce, or shortform video, the "killer services" of Tencent Cloud are online gaming and live streaming, which come with much stricter requirements for latency, jitter, and packet loss. From a technological perspective, TGW is highly decoupled and modular, with core components focused on efficient forwarding planes, a scalable state migration mechanism, a resilient failure recovery mechanism, and a failure detection and localization system. In terms of engineering, TGW has been operating in large-scale, real-world industrial environments for eight years, during which we have gained extensive insights and experience. We evaluate TGW both in testbed and real-world scenarios. In our testbed, TGW's single node achieves 2.9× the forwarding capacity of prior systems. Between clusters, states and traffic can be migrated in 4s without packet loss. In our real-world environment, TGW handles tens of Tbps of traffic, with a worst-case packet drop rate ranging from 10 -7 to 10 -4 , while balancing traffic across clusters. Additionally, TGW can quickly migrate states and traffic and recover from failures without tenant awareness, guided by our failure localization system, achieving 100% availability for years.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2bf6a82c-5a48-4fb5-a42b-9fe1be678364Builds on11
- AccelTCP: Accelerating Network Applications with Stateful TCP OffloadingYoungGyoun Moon, SeungEon Lee, Muhammad Asim Jamshed, KyoungSoo ParkNSDI 2020 · 121 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
- Network Load Balancing with In-network Reordering Support for RDMACha Hwan Song, Xin Zhe Khooi, Raj Joshi, Inho Choi et al.SIGCOMM 2023 · 110 citations
- Tiara: A Scalable and Efficient Hardware Acceleration Architecture for Stateful Layer-4 Load BalancingChaoliang Zeng, Layong Luo, Teng Zhang, Zilong Wang et al.NSDI 2022 · 97 citations
- Orion: Google's Software-Defined Networking Control PlaneAndrew D. Ferguson, Steve D. Gribble, Chi-Yao Hong, Charles Killian et al.NSDI 2021 · 95 citations
Related papers
- Accessing Cloud with Disaggregated Software-Defined RouterHua Shao, Xiaoliang Wang, Yuanwei Lu, Yanbo Yu et al.NSDI 2021 · 22 citations
- From Source to Solution: Tackling Packet Losses in Large-scale Cloud Gaming Systematically and PreciselyJing Wang, Xiao Kong, Yunzhe Ni, Nian Wen et al.NSDI 2026 · 1 citation
- Harp: Improving VPC Network Availability via Efficient Failure Detection and Rerouting in Tencent CloudJiayu Hu, Feng Jin, Xianping Zhou, Kai Zhang et al.NSDI 2026
- Zeta: A Scalable and Robust East-West Communication Framework in Large-Scale CloudsQianyu Zhang, Gongming Zhao, Hongli Xu, Zhuolong Yu et al.NSDI 2022 · 10 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
