Lune

NSDI2025Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Capybara: Dynamic Load Balancing with Microsecond-Scale TCP Migration cites Prism: Proxies without the Pain
  • Capybara: Dynamic Load Balancing with Microsecond-Scale TCP Migration cites Remote TCP Connection Offload and Applications
  • Remote TCP Connection Offload and Applications cites Prism: Proxies without the Pain
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Remote TCP Connection Offload and ApplicationsShuo Li, Steven W. D. Chien, Tianyi Gao, Michio HondaNSDI 2026 · 3 citations
  2. Capybara: Dynamic Load Balancing with Microsecond-Scale TCP MigrationInho Choi, Nimish Wadekar, Guangda Sun, Raj Joshi et al.SIGCOMM 2026

Builds on3

  1. Fault Tolerant Service Function ChainingMilad Ghaznavi, Elaheh Jalalpour, Bernard Wong, Raouf Boutaba et al.SIGCOMM 2020 · 35 citations
  2. Prism: Proxies without the PainYutaro Hayakawa, Michio Honda, Douglas Santry, Lars EggertNSDI 2021 · 32 citations
  3. SKQ: Event Scheduling for Optimizing Tail Latency in a Traditional OS KernelSiyao Zhao, Haoyu Gu, Ali José MashtizadehUSENIX ATC 2021 · 11 citations

Related papers

  1. AccelTCP: Accelerating Network Applications with Stateful TCP OffloadingYoungGyoun Moon, SeungEon Lee, Muhammad Asim Jamshed, KyoungSoo ParkNSDI 2020 · 121 citations
  2. 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
  3. In-Network Leaderless Replication for Distributed Data StoresGyuyeong Kim, Wonjun LeeVLDB 2022 · 11 citations
  4. 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
  5. Torp: Full-Coverage and Low-Overhead Profiling of Host-Side LatencyXiang Chen, Hongyan Liu, Junyi Guo, Xinyue Jiang et al.INFOCOM 2022 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines