Optimizing Spark job scheduling with distributional deep learning in cloud environments
Apache Spark has emerged as a leading in-memory big data processing framework, with cloud deployments offering scalability and cost efficiency. However, effective job scheduling in cloud-based Spark environments remains challenging due to resource heterogeneity, dynamic workloads, and strict deadline requirements. Existing schedulers often optimize isolated objectives, failing to address the complex trade-offs inherent in real-world deployments. To bridge this gap, we propose a distributional deep reinforcement learning (DRL) framework that jointly optimizes five key objectives: minimizing virtual machine (VM) cost, enhancing energy efficiency, ensuring deadline adherence, maximizing job throughput, and optimizing resource utilization. We implemented two DRL agents, Rainbow DQN and C51, within a Python-based simulation environment using TensorFlow, explicitly modeling Spark’s distributed execution patterns. Our experimental results demonstrate that Rainbow DQN achieves superior convergence stability and scheduling efficiency, reducing early-stage VM costs by 66%, improving CPU utilization by 12.5%, and enhancing deadline compliance by 4.2% compared to C51. While C51 exhibits faster initial convergence, Rainbow DQN delivers more robust long-term performance. These findings highlight the trade-offs between learning speed and optimization quality in DRL-based schedulers, providing actionable insights for cloud-based Spark deployments.
Institutions
- International Institute of Information Technology (IN)
- Indian Institute of Information Technology Design and Manufacturing Jabalpur (IN)
- Manipal University Jaipur
- Maharshi Dayanand University (IN)
- University of Rajasthan (IN)
Publication Details
- Journal
- Journal of Cloud Computing Advances Systems and Applications
- Published
- 2025-10-27
- DOI
- https://doi.org/10.1186/s13677-025-00773-6
- Citations
- 1
- Primary Topic
- Hungarian Social, Economic and Educational Studies
- Type
- article
- Field-Weighted Citation Impact
- 6.72