Online Learning for Failure-Aware Edge Backup of Service Function Chains With the Minimum Latency

Chen Wang, Qin Hu, Dongxiao Yu, Xiuzhen Cheng

This paper, titled "Online Learning for Failure-aware Edge Backup of Service Function Chains with the Minimum Latency," presents a novel approach to improving the reliability of edge computing services. By combining online bandit learning with graph-based optimization, the authors tackle the challenge of deciding which service backups to store at the network edge when popularity and failure rates are unknown.

TL;DR

The paper introduces the Real-Time Selection and Deployment (RTSD) algorithm, which uses online learning to identify popular and failure-prone service chains in mobile edge networks. By strategically placing backups on edge servers using a Prim-inspired optimization, the system maximizes service availability and minimizes latency even when network conditions are unpredictable.

What Problem Does This Paper Address?

In Mobile Edge Computing (MEC), applications are often broken down into Virtual Network Functions (VNFs)—like firewalls or video encoders—which are linked together to form Service Function Chains (SFCs). While the edge offers lower latency than the cloud, edge servers have limited resources and are prone to hardware or software failures. If a single VNF in a chain fails, the entire service goes down.

To prevent service interruptions, providers can store "backup" copies of these chains at the edge. However, two major hurdles exist:

  1. Resource Constraints: You can't back up everything. You must choose the most "valuable" SFCs to store.
  2. The "Unknowns": In a real-world environment, you don't know in advance which services will be popular (demand) or which VNFs are most likely to fail (reliability).

Existing research often assumes these parameters are known or ignores the "completeness" of a chain (backing up individual parts rather than the whole sequence).

Methods

The authors propose the RTSD algorithm, which operates in three main phases:

  1. Online Learning (Multi-Armed Bandit): The algorithm treats each SFC as an "arm" in a Multi-Armed Bandit problem. It uses the Upper Confidence Bound (UCB) technique to estimate two critical, unknown variables: the popularity of an SFC and the failure rate of its constituent VNFs. This allows the system to balance "exploration" (trying new SFCs to see if they are popular) and "exploitation" (sticking with known high-reward SFCs).
  2. Latency Optimization (Prim-inspired): To place the VNFs of a chosen SFC on specific edge servers, the authors adapted the Prim algorithm (traditionally used for Minimum Spanning Trees). This helps find a deployment path across servers that minimizes the total communication delay (latency) between the linked functions.
  3. Greedy Selection: Finally, the system calculates a "Service Hit Reward" for each SFC—a metric combining popularity, latency, and success probability. It then uses a greedy strategy to deploy the highest-reward backups until the edge server resources are exhausted.

Datasets

The paper relies on extensive simulation experiments rather than a specific public dataset. The simulation environment was configured with:

  • An edge network of 6 servers with varying resource capacities (8 to 12 units).
  • A set of 15 distinct VNFs with specific resource requirements.
  • 6 predefined SFCs, each consisting of a sequence of 4 to 5 VNFs.
  • Randomly generated link latencies and dynamic user request patterns to test the learning capabilities.

Key Insights and Ideas

  • SFC Atomicity: The authors emphasize that an SFC backup is only useful if it is complete. If one VNF in the backup chain is missing from the edge, the request must go to the cloud, negating the edge's latency benefits.
  • Worst-Case Failure Modeling: Instead of averaging failure rates, the paper defines the failure rate of an entire SFC by its "weakest link"—the VNF with the highest failure probability. This conservative approach ensures higher reliability.
  • The Power of Feedback: The system doesn't need a "warm-up" period with historical data. Because it uses online learning, it improves its deployment strategy in real-time based on the success or failure of previous time slots.
  • Bridging Learning and Graph Theory: Combining UCB (for parameter estimation) with a Prim-like approach (for spatial placement) creates a robust framework that handles both statistical uncertainty and physical network constraints.

Key Results

The RTSD algorithm was compared against two benchmarks: a "Bandit Scheme" (which uses learning but simpler placement) and a "Random Scheme." * Higher Rewards: RTSD consistently achieved a significantly higher "Service Hit Reward" (approx. 20-30% higher than the standard Bandit scheme in some scenarios), meaning it successfully served more users with lower latency. * Resource Efficiency: RTSD resulted in the least "waste" of edge resources. It was better at packing VNFs onto servers in a way that left room for more backups. * Scalability with Data: As the number of users increased, the gap between RTSD and other methods widened. More users provided more "feedback," allowing the online learning component to converge on the optimal strategy faster.

Limitations and Future Work

  • Small-Scale Simulation: The experiments were conducted on a relatively small network (6 servers). While the logic holds, real-world edge deployments (like 5G telco clouds) might involve hundreds of nodes, which could introduce computational overhead for the Prim-inspired step.
  • Static SFC Definitions: The paper assumes the composition of the SFCs (which VNFs are in which chain) is fixed. In more dynamic environments, the chains themselves might be reconfigured on the fly.
  • Binary Deployment: The model assumes an SFC is either entirely at the edge or entirely in the cloud. Future work could explore "hybrid" deployments where some parts of a backup are at the edge and others are at a regional data center.

Summary updated

Abstract

Virtual network functions (VNFs) have been widely deployed in mobile edge computing (MEC) to flexibly and efficiently serve end users running resource-intensive applications, which can be further serialized to form service function chains (SFCs), providing customized networking services. To ensure the availability of SFCs, it turns out to be effective to place redundant SFC backups at the edge for quickly recovering from any failures. The existing research largely overlooks the influences of SFC popularity, backup completeness and failure rate on the optimal deployment of SFC backups on edge servers. In this paper, we comprehensively consider from the perspectives of both the end users and edge system to backup SFCs for providing popular services with the lowest latency. To overcome the challenges resulted from unknown SFC popularity and failure rate, as well as the known system parameter constraints, we take advantage of the online bandit learning technique to cope with the uncertainty issue. Combining the Prim-inspired method with the greedy strategy, we propose a Real-Time Selection and Deployment(RTSD) algorithm. Extensive simulation experiments are conducted to demonstrate the superiority of our proposed algorithms.
BibTeX
@article{wang2023online,
  author = {Chen Wang and Qin Hu and Dongxiao Yu and Xiuzhen Cheng},
  title = {{Online Learning for Failure-Aware Edge Backup of Service Function Chains With the Minimum Latency}},
  journal = {IEEE/ACM Trans. Networking},
  year = {2023},
  doi = {10.1109/tnet.2023.3265127},
}

Loading related content...

Figure