Exploiting Spot Instances for Time-Critical Cloud Workloads Using Optimal Randomized Strategies
Neelkamal Bhuyan, Randeep Bhatia, Murali Kodialam, TV Lakshman
TL;DR
This work tackles deadline-aware online scheduling in hybrid clouds where jobs may run on cheap but revocable spot instances or reliable on-demand instances costing $K$ per unit time, with a hard deadline. It proves a fundamental $\Omega(K)$ lower bound for any deterministic policy and introduces Ross, a randomized online scheduler, achieving a provably optimal $\sqrt{K}$ competitive ratio under practical deadlines. The authors establish formal guarantees (Theorem 1–3) and validate Ross on real Azure, AWS, and Skypilot traces, demonstrating significant cost savings (up to $30\%$) while preserving deadline guarantees across varying spot conditions. The results show that injecting a controlled, randomized on-demand interval during slack balances cost-efficiency with reliability, enabling effective use of spot resources in time-critical cloud workloads.
Abstract
This paper addresses the challenge of deadline-aware online scheduling for jobs in hybrid cloud environments, where jobs may run on either cost-effective but unreliable spot instances or more expensive on-demand instances, under hard deadlines. We first establish a fundamental limit for existing (predominantly-) deterministic policies, proving a worst-case competitive ratio of $Ω(K)$, where $K$ is the cost ratio between on-demand and spot instances. We then present a novel randomized scheduling algorithm, ROSS, that achieves a provably optimal competitive ratio of $\sqrt{K}$ under reasonable deadlines, significantly improving upon existing approaches. Extensive evaluations on real-world trace data from Azure and AWS demonstrate that ROSS effectively balances cost optimization and deadline guarantees, consistently outperforming the state-of-the-art by up to $30\%$ in cost savings, across diverse spot market conditions.
