Efficient Serverless Resource Allocation for MapReduce Job Based on A* Algorithm
With the development of cloud computing technology, serverless computing models have gradually emerged. The existing serverless resource allocation framework, Astrea, models the resource allocation problem as the shortest path problem in graph theory and solves it using the Dijkstra algorithm, effectively addressing resource allocation issues. However, its computational complexity can be inefficient for large-scale applications. The A* algorithm generally outperforms Dijkstra's by avoiding unnecessary paths and converging more quickly, enhancing efficiency. This paper proposes an improved A* algorithm based on the serverless job scheduling and resource allocation framework, Astrea. Implement timely budget limit checks to reduce unnecessary path exploration. Priority queues and hash tables are used to enhance data access and path query efficiency. Optimize paths with heuristic function prioritization to focus on cost-effective routes. As a result, the search space is narrowed. The Astrea framework, implemented with the A * algorithm, enhances execution efficiency. Theoretical analysis and simulation experiments confirm this, showing approximately 30% improvement compared to traditional methods. The A* algorithm is applied to serverless resource allocation. It optimizes the algorithm for large-scale MapReduce tasks. The results demonstrate the algorithm's effectiveness in this new application.
Authors
- Chuanzhi Chen (ORCID: https://orcid.org/0009-0004-9244-078X)
- Hao Chi (ORCID: https://orcid.org/0009-0000-2902-0361)
- Hongqing Liu (ORCID: https://orcid.org/0000-0003-4839-1525)
- Hongyan Sang
- Jinquan Zhang (ORCID: https://orcid.org/0000-0001-5193-0687)
Institutions
- Liaocheng University (CN)
- Southeast University (CN)
Publication Details
- Published
- 2024-10-18
- DOI
- https://doi.org/10.1109/ntci64025.2024.10776065
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Shandong Province