Introduction
Cloud computing environments are characterized by extreme dynamism and heterogeneity. Efficiently scheduling tasks across diverse Virtual Machines (VMs) while maintaining reliability remains a significant challenge. This paper, published in The International Arab Journal of Information Technology, introduces TSMRL (Task Scheduling Implementing Multi-Agent NFQ-based Reinforcement Learning), a decentralized framework designed to optimize load balancing and job success rates by combining reinforcement learning with neural networks and queuing theory.
The Challenge of Cloud Scheduling
Traditional cloud scheduling often relies on centralized architectures or static heuristics. Centralized systems create single points of failure and struggle to scale as networks grow. Meanwhile, static heuristics like "Greedy" or "First-In-First-Serve" (FIFS) often ignore resource reliability and current queue states, leading to "hotspots" where certain VMs are overwhelmed while others remain idle. TSMRL addresses these issues by creating a "reliability-aware" system that adapts to real-time environment changes.
The TSMRL Framework
The TSMRL architecture is built upon three core pillars:
1. Multi-Agent Reinforcement Learning (MARL)
Instead of a single global scheduler, TSMRL employs multiple autonomous agents. Each agent manages local task queues but contributes to a shared knowledge base (Q-table). This decentralized approach minimizes communication overhead while ensuring system-wide coordination and fault tolerance.
2. Neural Fitted Q-iteration (NFQ)
To handle the vast, nearly infinite state space of cloud environments, the authors utilize Neural Fitted Q-iteration. A neural network approximates the Q-function, allowing agents to generalize from past experiences and make optimal decisions even in previously unseen states.
3. Queuing Theory Integration
TSMRL models the cloud as a series of M/M/1 queues. By calculating Mean Response Times and monitoring buffer capacities, the system ensures that tasks are assigned to resources that can realistically complete them within specified deadlines, rather than just choosing the fastest available CPU.
Experimental Setup and Results
The framework was evaluated in a simulated environment featuring 10 VMs with varying capacities (512–2048 MB RAM) and workloads ranging from 100 to 1,000 jobs. Task arrivals followed a Poisson process to mimic real-world traffic patterns.
Key findings include:
- Superior Reliability: TSMRL significantly outperformed Greedy and FIFS in job success rates, particularly under tight deadlines, by prioritizing "reliability" in its reward function.
- Effective Load Balancing: The system achieved more uniform resource utilization across the VM cluster, effectively avoiding the "hotspot" problem.
- Adaptive Learning: While TSMRL initially performs similarly to basic heuristics, its performance improves dramatically as it "learns" the characteristics and "personality" of the underlying resources over time.
Conclusion
TSMRL demonstrates that combining decentralized multi-agent systems with neural-based reinforcement learning provides a robust solution for cloud task scheduling. By moving beyond simple speed metrics and incorporating reliability and queuing theory, the framework offers a scalable and efficient approach for modern distributed systems.
Summary updated