We study the problem of scheduling delay-sensitive jobs over spot and on-demand cloud instances to minimize average cost while meeting an average delay constraint. Jobs arrive as a general stochastic process, and incur different costs based on the instance type. This work provides the first analytical treatment of this problem using tools from queuing theory, stochastic processes, and optimization. We derive cost expressions for general policies, prove queue length one is optimal for low target delays, and characterize the optimal wait-time distribution. For high target delays, we identify a knapsack structure and design a scheduling policy that exploits it. An adaptive algorithm is proposed to fully utilize the allowed delay, and empirical results confirm its near-optimality.
@article{arxiv.2601.12266,
title = {Opportunistic Scheduling for Optimal Spot Instance Savings in the Cloud},
author = {Neelkamal Bhuyan and Randeep Bhatia and Murali Kodialam and TV Lakshman},
journal= {arXiv preprint arXiv:2601.12266},
year = {2026}
}
Comments
Accepted for publication in the 45th IEEE International Conference on Computer Communications (INFOCOM 2026). Copyright 2026 IEEE