NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fault Tolerance for Service Function Chains

Milad Ghaznavi, Elaheh Jalalpour, Bernard Wong, Raouf BoutabaarXiv 2020

Executive Summary

Fault-Tolerant Chaining (FTC) is a novel protocol designed to provide strong consistency for service function chains (SFCs) without the overhead of dedicated replica servers. By leveraging the existing network chain as a replication mechanism and "piggybacking" state updates directly onto network packets, FTC achieves 2–3.5× higher throughput than current state-of-the-art solutions while maintaining ultra-low latency. This approach effectively eliminates the "pipeline stalls" common in traditional fault-tolerance methods.

The Reliability Gap in Service Function Chains

In modern enterprise and cloud networks, traffic typically traverses a sequence of middleboxes—such as firewalls, NATs, and intrusion detection systems—known as a Service Function Chain (SFC). Ensuring the reliability of these chains is critical; a single middlebox failure can disrupt the entire service or lead to the loss of vital security state.

Existing fault-tolerance (FT) solutions often treat middleboxes as isolated entities, relying on frequent state snapshots or remote event logging. These methods introduce two primary challenges:

  1. Performance Degradation: Synchronizing state for every packet can cause latency spikes (up to 9ms), which compound across a chain and reduce throughput by as much as 40%.
  2. Resource Inefficiency: Traditional FT often requires doubling the number of servers to provide dedicated replicas, significantly increasing infrastructure costs.

FTC: Reimagining the Chain as a Replication Mechanism

FTC addresses these issues by treating the chain itself as the replication path. The system is built on four technical pillars:

  • In-Chain Replication: Instead of external backup servers, FTC utilizes the subsequent middleboxes in the chain to store the state of preceding ones. For the end of the chain, the sequence is treated as a logical ring.
  • State Piggybacking: When a middlebox updates its internal state (e.g., a NAT table entry), FTC attaches this update to the packet itself. The state "hitchhikes" to the next node to be stored locally.
  • Transactional Packet Processing: Each packet's journey is treated as a database-style transaction using Software Transactional Memory (STM), ensuring atomic and consistent state updates even under high concurrency.
  • Data Dependency Vectors: To avoid bottlenecks, FTC uses vector clocks to track dependencies between updates, allowing replicas to process independent updates in parallel.
FTC's mechanism for state piggybacking and in-chain replication.

System Architecture

The FTC architecture integrates a forwarder, a chain of replicas, and a final buffer. The forwarder manages the entry of packets into the chain, while the replicas (running alongside middleboxes) handle the storage of piggybacked state. A final buffer at the end of the chain ensures that packets are only released to the network once their state has been safely replicated across the required number of nodes.

The FTC system architecture, illustrating the packet flow through the replica chain.

Performance and Evaluation

Researchers evaluated FTC using a custom implementation on the Click modular router and ONOS SDN controller. Testing across local 40Gbps clusters and distributed cloud environments revealed significant performance gains:

  • Throughput: FTC outperforms the previous state-of-the-art (FTMB) by 2× to 3.5× for chains of two to five middleboxes.
  • Efficiency: The system imposes a minimal 6–13% throughput penalty compared to a non-fault-tolerant baseline, a stark improvement over the 40% drop seen in snapshot-based systems.
  • Latency: Per-middlebox latency is kept between 10–100µs, avoiding the millisecond-scale stalls of existing frameworks.
  • Recovery: FTC restores state and reroutes traffic in 50ms to 270ms, depending on geographic distance.

Conclusion and Future Work

FTC demonstrates that the network chain can be a solution for replication rather than just a source of cumulative delay. By eliminating "stop-and-wait" synchronization, it provides a scalable, resource-efficient path for reliable network services. Future work will focus on optimizing the final "commit" process in the buffer to further reduce egress latency and exploring the limits of state piggybacking for extremely state-heavy applications where packet MTU constraints may become a factor.

Summary updated

BibTeX
@misc{ghaznavi2020fault,
  author = {Milad Ghaznavi and Elaheh Jalalpour and Bernard Wong and Raouf Boutaba},
  title = {{Fault Tolerance for Service Function Chains}},
  year = {2020},
  eprint = {2001.03321},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.03321},
}
Figure