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

Online Scaling of NFV Service Chains across Geo-distributed Datacenters

Yongzheng Jia, Chuan Wu, Zongpeng Li, Franck Le, Alex X. Liu

TL;DR

This paper introduces a highly efficient online algorithm to dynamically deploy and scale Virtual Network Functions (VNFs) across geo-distributed datacenters. By combining an online regularization technique with a novel cluster-based dependent rounding scheme, the algorithm minimizes operational costs and end-to-end latency in real-time without requiring any future traffic knowledge.

What Problem Does This Paper Address?

Network Function Virtualization (NFV) is transforming modern networking by replacing expensive, rigid hardware middleboxes (like firewalls and load balancers) with software-based Virtual Network Functions (VNFs) running on standard virtual machines (VMs). Typically, these VNFs are chained together to form a service chain (e.g., Firewall $\rightarrow$ IDS $\rightarrow$ Proxy) that network traffic must traverse in a specific order.

Example of NFV service chains across geo-distributed datacenters

While NFV offers incredible flexibility, managing it dynamically is a nightmare. Traffic volumes fluctuate wildly over time, and service providers must decide where and how many VNF instances to boot up or tear down across global datacenters. Doing this optimally is an NP-hard problem due to conflicting trade-offs:

  • Resource vs. Bandwidth Costs: Renting VMs costs money, but so does routing traffic between distant datacenters.
  • Temporal Coupling: Booting a new VNF incurs a one-time deployment cost, meaning decisions made today affect costs tomorrow.
  • Quality of Service (QoS): Spreading VNFs too far apart introduces severe end-to-end network latency.

Most existing solutions look at this as an offline or one-time optimization problem. This paper tackles the realistic, online scenario where decisions must be made on the fly without knowing future traffic patterns.

Methods

The authors formulate the problem as a Mixed Integer Linear Program (MILP) and break their solution down into a Complete Online Algorithm (COA) consisting of two primary pillars:

  1. Online Regularization-Based Fractional Algorithm (ORFA): To handle the temporal coupling caused by VNF deployment costs, the authors adapt a regularization technique from online learning. They replace the discrete deployment cost with a smooth, convex relative entropy function. This effectively "lifts" the time-dependent constraints into the objective function, allowing the complex offline problem to be decoupled into a sequence of independent, one-shot fractional optimization problems that can be solved quickly in each time slot.

  2. Online Weighted Dependent Rounding (OWDR): Since you cannot deploy a fraction of a VM, the fractional solutions from ORFA must be rounded to integers. Simple independent rounding fails because it frequently violates datacenter capacity and breaks flow conservation. To solve this, the authors design a dependent rounding scheme:

  3. Local Clustering: Datacenters are grouped into geographic clusters with low internal latency.

  4. Star Graph & Buffer Nodes: Within each cluster, a low-cost datacenter is designated as a "buffer" node.
  5. Randomized Rounding: Fractional values are rounded up or down collectively using a star-topology graph. If a VNF instance is rounded down in one datacenter, the buffer node absorbs the excess traffic, guaranteeing that the network never drops a flow due to capacity shortages.
Fig. 2. Datacenter graph with disjoint stars

Finally, a Flow Redirection step solves a simple linear program to optimize traffic routing across the newly established integer VNF landscape.

Datasets

The algorithm was evaluated using trace-driven simulations under realistic settings:

  • Network Topology: Modeled on the Cogent physical network topology using 50 datacenters.
  • Traffic Traces: Real-world web traffic data from Wikipedia traces (comprising 20.6 billion HTTP requests over 10 months).
  • Flash Crowds: To test extreme conditions, the authors synthesized "flash crowds" by boosting peak traffic using an established mathematical shock model (scaling traffic up to 100x).
  • Pricing & VM Specs: Configured to match Amazon EC2 instance types (e.g., m4.xlarge for Firewalls, m4.2xlarge for IDS) and their respective regional bandwidth and rental pricing.

Key Insights and Ideas

  • Breaking Time Dependencies: The use of relative entropy regularization is a powerful way to bypass the need for predictive traffic modeling. It transforms a look-ahead problem into a purely real-time calculation while maintaining mathematical guarantees.
  • The "Buffer Node" Savior: The realization that independent rounding breaks network flow conservation led to the star-graph cluster approach. Using a single buffer node per cluster to "catch" rounded-down capacity ensures 100% feasibility without blowing up latency.
  • Independence from Time Horizons: Remarkably, the algorithm's competitive ratio (the bound on how much worse it performs compared to an omniscient offline optimal solution) is independent of the total number of flows or the length of the time horizon.

Key Results

  • Superior Cost Efficiency: The complete algorithm (COA) consistently outperformed baseline rounding methods, such as Independent Randomized Rounding (IRR) and Greedy Rounding (GR), across varying numbers of datacenters and time slots.
  • Resilience to Flash Crowds: Even when traffic suddenly spiked by a factor of 100 (simulating a massive flash crowd), the empirical competitive ratio only shifted from roughly 1 to 6, demonstrating incredible stability under duress.
  • Mathematical Soundness: The authors proved via a primal-dual framework that the algorithm achieves a rigorous, upper-bounded competitive ratio, validating the simulation results.

Limitations and Future Work

The authors do not explicitly detail a standalone limitations section, but a few areas are ripe for future exploration:

  • Simple Latency Model: The paper uses a generalized triangle inequality for network delays, which may not fully capture dynamic queuing delays inside datacenters under heavy load.
  • Homogeneous VM Assumptions: The rounding mechanism assumes instances of the same VNF type within a datacenter share identical capacities, which might complicate deployments in hybrid-cloud environments with mixed hardware generations.

Summary updated

BibTeX
@misc{jia2016online,
  author = {Yongzheng Jia and Chuan Wu and Zongpeng Li and Franck Le and Alex X. Liu},
  title = {{Online Scaling of NFV Service Chains across Geo-distributed Datacenters}},
  year = {2016},
  eprint = {1611.08086},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.08086},
}
Figure