HA/TCP: A Reliable and Scalable Framework for TCP Network Functions
Haoyu Gu, Ali José Mashtizadeh, Bernard Wong
Abstract
Layer 7 network functions (NFs) are a critical piece of modern network infrastructure. As a result, the scalability and reliability of these NFs are important but challenging because of the complexity of layer 7 NFs. This paper presents HA/TCP, a framework that enables migration and failover of layer 7 NFs. HA/TCP uses a novel replication mechanism to synchronize the state between replicas with low overhead, enabling seamless migration and failover of TCP connections. HA/TCP encapsulates the implementation details into our replicated socket interface to allow developers to easily add high availability to their layer 7 NFs such as WAN accelerators, load balancers, and proxies. Our benchmarks show that HA/TCP provides reliability for a 100 Gbps NF with as little as 0.2% decrease in client throughput. HA/TCP transparently migrates a connection between replicas in 38 µs, including the network latency. We provide reliability to a SOCKS proxy and a WAN accelerator with less than 2% decrease in throughput and a modest increase in CPU usage.
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 8ec3913e-41cb-48da-8837-1692637ec48cCited by top-tier papers2
- Remote TCP Connection Offload and ApplicationsShuo Li, Steven W. D. Chien, Tianyi Gao, Michio HondaNSDI 2026 · 3 citations
- Capybara: Dynamic Load Balancing with Microsecond-Scale TCP MigrationInho Choi, Nimish Wadekar, Guangda Sun, Raj Joshi et al.SIGCOMM 2026
Builds on3
- Fault Tolerant Service Function ChainingMilad Ghaznavi, Elaheh Jalalpour, Bernard Wong, Raouf Boutaba et al.SIGCOMM 2020 · 35 citations
- Prism: Proxies without the PainYutaro Hayakawa, Michio Honda, Douglas Santry, Lars EggertNSDI 2021 · 32 citations
- SKQ: Event Scheduling for Optimizing Tail Latency in a Traditional OS KernelSiyao Zhao, Haoyu Gu, Ali José MashtizadehUSENIX ATC 2021 · 11 citations
Related papers
- AccelTCP: Accelerating Network Applications with Stateful TCP OffloadingYoungGyoun Moon, SeungEon Lee, Muhammad Asim Jamshed, KyoungSoo ParkNSDI 2020 · 121 citations
- F4T: A Fast and Flexible FPGA-based Full-stack TCP Acceleration FrameworkJunehyuk Boo, Yujin Chung, Eunjin Baek, Seongmin Na et al.ISCA 2023 · 8 citations
- In-Network Leaderless Replication for Distributed Data StoresGyuyeong Kim, Wonjun LeeVLDB 2022 · 11 citations
- Hermes: Enhancing Layer-7 Cloud Load Balancers with Userspace-Directed I/O Event NotificationTian Pan, Enge Song, Yueshang Zuo, Shaokai Zhang et al.SIGCOMM 2025 · 5 citations
- Torp: Full-Coverage and Low-Overhead Profiling of Host-Side LatencyXiang Chen, Hongyan Liu, Junyi Guo, Xinyue Jiang et al.INFOCOM 2022 · 5 citations
