Scientific Workflow Scheduling in Cloud Considering Cold Start and Variable Pricing Model

Suvarthi Sarkar, Sparsh Mittal, Shivam Garg, Aryabartta SahuarXiv 2025 · DOI

Abstract

Scientific Cloud Service Providers (SCSPs) face the challenge of maximizing profit while meeting strict workflow deadlines. This paper introduces the Deadline, Cold Start, and Dependency-Aware (DCD) Framework, a hybrid scheduling strategy. DCD combines proactive reserved-instance planning with a reactive, reward-guided bidding strategy for spot instances. By addressing "cold start" delays and navigating complex IaaS pricing models, the framework achieves significantly higher profitability and robustness compared to existing state-of-the-art methods.

Introduction

Scientific Cloud Service Providers (SCSPs) act as intermediaries between researchers and Infrastructure as a Service (IaaS) giants like AWS or Google Cloud. Their business model relies on renting raw virtual machines (VMs) and selling execution time for complex scientific workflows. Profitability in this domain is threatened by two primary factors: the "cold start" problem and pricing complexity.

System architecture showing the interaction between the User Layer, SCSP Layer, and IaaS Layer.

The Cold Start Problem refers to the time required to initialize a VM or container (loading libraries, setting up environments), which can account for ~20% of total execution time. Furthermore, IaaS providers offer various pricing tiers—Reserved, On-Demand, and Spot—each with different trade-offs between cost and reliability. Managing these resources to complete workflows before deadlines while minimizing rental costs is a significant optimization challenge.

The DCD Framework

The proposed DCD framework employs a two-phase hybrid approach to resource management:

  1. Phase A (Predicted Case): The system uses historical data to predict workload arrivals and pre-books Reserved Instances. This ensures a baseline of "warm" machines are ready to go, significantly reducing cold start overhead for the most common task types.
  2. Phase B (Real-Time Case): As actual workflows arrive, the system dynamically scales using On-Demand or Spot Instances to handle real-time fluctuations.
The DCD Framework workflow, highlighting the transition from predicted planning to real-time execution.

Key Methodologies

  • Proportional Deadline Distribution: Instead of a flat deadline, the framework calculates "relative deadlines" for individual tasks based on their position in the workflow's critical path. This ensures that early delays do not cascade into total deadline failure.
  • Smart VM Selection: Using a priority score inspired by Zipf’s Law, the system favors VMs that already have the required environment loaded and considers the machine's popularity and idle time.
  • Reward-Guided Bidding: For spot instances, the framework calculates bids based on the "cumulative reward" of queued tasks. More critical or valuable tasks trigger higher, safer bids to prevent eviction.

Evaluation and Results

The researchers evaluated their framework using the Pegasus Workflow Management System to simulate real-world scientific workflows, combined with real-world AWS pricing data and historical spot price volatility traces.

Key Insights

  • The 20/99 Rule: Observations show that roughly 20% of functions are invoked 99% of the time. By strategically caching environments for this "vital few," the framework achieves massive efficiency gains.
  • Dependency-Awareness: Because scientific workflows are Directed Acyclic Graphs (DAGs), distributing the time budget proportionally across the critical path is essential for maintaining deadline compliance.

Performance Metrics

  • Profitability: DCD achieved up to 20% higher profit than FaasCache (a cold-start-focused method) and 15% higher profit than CEWB (a pricing-model-focused broker).
  • Scalability and Robustness: The profit gap between DCD and baseline methods widened as the number of workflows increased. Remarkably, the system maintained over 80% profit even with a 40% error in workload prediction, proving that the real-time reactive phase effectively compensates for inaccurate historical planning.

Conclusion

The DCD framework effectively bridges the gap between proactive planning and reactive execution in cloud scheduling. While current limitations include granularity mismatches in billing cycles, future work aims to integrate dynamic hyperparameter tuning via reinforcement learning and more complex reward mechanisms to further optimize the SCSP profit margin.

Summary updated

BibTeX
@misc{sarkar2025scientific,
  author = {Suvarthi Sarkar and Sparsh Mittal and Shivam Garg and Aryabartta Sahu},
  title = {{Scientific Workflow Scheduling in Cloud Considering Cold Start and Variable Pricing Model}},
  year = {2025},
  eprint = {2504.21536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.21536},
}
Figure