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

Online Job Assignment

Farbod Ekbatani, Yiding Feng, Ian Kash, Rad Niazadeh · DOI

Abstract

In cloud computing environments, platforms must assign a continuous stream of incoming jobs to a fixed set of reusable servers without prior knowledge of future arrivals. This paper investigates the "Online Job Assignment" problem, characterized by job heterogeneity in both rewards and durations. We introduce Forward-Looking BALANCE (FLB), a novel online algorithm that incorporates projected future server availability into its decision-making process. Through primal-dual analysis using a configuration linear program, we demonstrate that FLB achieves a competitive ratio that is asymptotically optimal, scaling logarithmically with the diversity of job rewards and durations, matching theoretical lower bounds.

Introduction

Cloud platforms like AWS and Microsoft Azure face the persistent challenge of managing finite server capacities against unpredictable job demands. Unlike traditional online packing problems where resources are consumed permanently, cloud resources are reusable: a server processes a job for a specific duration and then returns to the available pool. This reusability, combined with the extreme heterogeneity of job rewards ($R$) and durations ($D$), renders traditional "myopic" allocation strategies—which only consider current capacity—inefficient in adversarial environments.

The Forward-Looking BALANCE (FLB) Algorithm

The core innovation of this work is the Forward-Looking BALANCE (FLB) algorithm. FLB shifts the focus from current server load to a trajectory of future availability.

Methodology

FLB operates by calculating a "projected utilization" for each server at multiple future inspection times. When a job arrives, the algorithm assigns a score to each server based on the job's potential reward minus an exponential penalty. This penalty is a function of the server's projected utilization across the relevant future time horizon. By "hedging" against future high-value arrivals, FLB ensures that capacity is preserved for potentially more lucrative jobs that might arrive later.

The theoretical framework utilizes a Primal-Dual analysis centered on a Configuration Linear Program (LP). This approach allows for a granular tracking of non-overlapping job subsets (configurations) that can occupy a single server unit over time, providing a tighter benchmark for competitive analysis than standard packing LPs.

Theoretical Results and Optimality

The primary contribution of this research is the establishment of tight upper and lower bounds for the competitive ratio in various job assignment scenarios. The difficulty of the problem is fundamentally linked to the heterogeneity parameters $R$ (ratio of maximum to minimum reward) and $D$ (ratio of maximum to minimum duration).

Summary of Upper and Lower Bounds for Online Job Assignment

As shown in the table above, for the general case where both $R > 1$ and $D > 1$, FLB achieves a competitive ratio of $\ln(RD) + 3 \ln \ln(R \vee D) + \mathcal{O}(1)$. This result is asymptotically optimal, as the lower bound is established at $\ln(RD) + \Omega(1)$. In the specialized case of fixed rewards ($R=1$), the competitive ratio improves to $\ln(D) + \mathcal{O}(1)$, again matching the lower bound. These results demonstrate that the "asymptotic logarithmic constant" for this problem is exactly 1, the best possible theoretical outcome.

Experimental Evaluation

The authors validated FLB through extensive simulations using both adversarial "worst-case" instances and randomized practical scenarios. In adversarial settings, where rewards and durations are designed to exploit myopic behavior, FLB significantly outperformed standard algorithms like GREEDY and BALANCE. In practical simulations with Poisson arrivals and truncated normal distributions for job parameters, FLB demonstrated superior performance, particularly in regimes of intermediate congestion where strategic capacity management is most impactful.

Conclusion

Forward-Looking BALANCE represents a significant advancement in online resource allocation for reusable assets. By accounting for the temporal dimension of capacity, FLB achieves theoretical optimality in highly heterogeneous environments. Future research directions include adapting the algorithm for scenarios with small server capacities, incorporating machine-learning-based arrival forecasts, and extending the model to support advanced bookings and waitlists.

Summary updated

BibTeX
@misc{ekbatani2025online,
  author = {Farbod Ekbatani and Yiding Feng and Ian Kash and Rad Niazadeh},
  title = {{Online Job Assignment}},
  year = {2025},
  eprint = {2506.06893},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.06893},
}
Figure