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

Virtual Machine Trading in a Federation of Clouds: Individual Profit and Social Welfare Maximization

Hongxing Li, Chuan Wu, Zongpeng Li, Francis C. M. Lau

Abstract

Cloud providers frequently encounter fluctuating resource demands that lead to either costly over-provisioning or service-level agreement (SLA) violations. This paper presents a market-driven framework for "federated clouds," enabling independent providers to trade virtual machines (VMs) dynamically. By integrating a truthful double-auction mechanism with Lyapunov optimization, the proposed system allows selfish providers to maximize individual long-term profits while steering the entire federation toward near-optimal social welfare.

Introduction

Cloud computing demand is inherently "bursty." To maintain reliability, providers often over-provision hardware, leading to significant waste during off-peak hours. Conversely, under-provisioning leads to dropped jobs and SLA penalties. Cloud federation offers a solution: providers with excess capacity can rent VMs to those facing resource shortages.

However, a major hurdle is the selfish nature of independent providers. A successful federation must ensure that participation is more profitable than isolation. This requires solving a multi-dimensional optimization problem involving VM pricing, job scheduling, and server provisioning, all while accounting for fluctuating electricity costs and varying job priorities.

The Proposed Framework

The authors propose a decentralized architecture where individual clouds interact with a central auctioneer to trade resources.

System architecture showing the interaction between the Auctioneer and individual Cloud providers.

As shown in the figure above, the framework consists of two primary components:

  1. A Truthful Double-Auction Mechanism: This market ensures strategy-proofness (truthful bidding is the dominant strategy), individual rationality (no participant loses money), and ex-post budget balance (no external subsidies required).
  2. Dynamic Trading and Scheduling: Each cloud runs a local algorithm to decide its bids and operational strategy based on its current internal state.

Dynamic Profit Maximization

The core of the cloud-side logic is the Dynamic Profit Maximization Algorithm (Algorithm 1). Utilizing Lyapunov optimization—specifically the "drift-plus-penalty" framework—the algorithm transforms the complex long-term profit maximization goal into a series of manageable "one-shot" optimization problems solved at each time slot.

The Dynamic Profit Maximization Algorithm executed by each cloud provider in every time slot.

A key innovation is the use of back-pressure to determine VM valuation. A cloud's bid is not arbitrary; it is a mathematical reflection of its current "pain"—the combined pressure of job backlogs in its queues and local electricity costs. As queues grow or electricity prices rise, the internal valuation for an additional VM increases, leading to higher bids in the auction.

Experimental Validation

The framework was validated using trace-driven simulations:

  • Workload Data: Real-world Google cluster usage traces provided job arrival rates and resource requirements.
  • Operational Costs: Hourly electricity price data from 10 geographic locations (via FERC) were used to model varying operational expenses.
  • Scale: The simulation modeled a federation of 10 clouds over a 2000-hour period.

Key Results

  • Individual Optimality: The algorithm enables clouds to achieve time-averaged profits "arbitrarily close" to the theoretical offline optimum.
  • Social Welfare: In heterogeneous settings, the algorithm achieved social welfare within 7.7% of a centralized benchmark, outperforming standard heuristics by 19.2%.
  • SLA Guarantees: Unlike average-case models, this framework provides deterministic bounds on maximum job delay, ensuring strict SLA compliance.

Conclusion

This research demonstrates that an "invisible hand" can operate within cloud federations. Even with purely selfish participants, a well-designed double-auction mechanism can drive the system toward global efficiency. Future work will look to relax homogeneity assumptions and explore the interplay between back-end resource trading and front-end dynamic pricing for end-users.

Summary updated

BibTeX
@article{li2016virtual,
  author = {Hongxing Li and Chuan Wu and Zongpeng Li and Francis C. M. Lau},
  title = {{Virtual Machine Trading in a Federation of Clouds: Individual Profit and Social Welfare Maximization}},
  journal = {IEEE/ACM Trans. Networking},
  year = {2016},
  url = {https://openreview.net/forum?id=QpvxVe8ZZD},
}
Figure