Dynamic resource management for microservices based on deep reinforcement learning
In recent years, the operation and maintenance of Intelligent Computing Center(ICC) have been moving toward the direction of cloud-native, intelligent, and green. Applications deployed in ICC are increasingly adopting containerization technology and microservice architecture. Although the adoption of microservice architecture is expected to simplify the development, deployment, and maintenance of software, the resource competition of microservices can lead to the degradation of application performance and thus affect the quality of user experience. In addition, dependencies between microservices can introduce the cascading effect. These issues make it challenging for operators to achieve efficient resource management while maintaining the quality of user experience.In this paper, we analyze the impact of dependencies between microservices on application performance. We model the service dependency graph as a weighted graph and propose a hybrid resource allocation method based on Deep Q-network. With the goal of maximizing the application performance while minimizing resources usage, our method evaluates the importance of microservices based on the service dependency graph to set the reward function. Using a reinforcement learning algorithm, our method adjusts the compute and network resources allocated to an application based on dynamically changing available resources. Experimental results show that our method can converge quickly and improve the application performance by approximately 68% while reducing the use of compute and network resources.
Authors
- Yijun Mo (ORCID: https://orcid.org/0000-0003-0991-3597)
- B.Y.C. Tang (ORCID: https://orcid.org/0009-0003-3899-9251)
- Zhengyu Chen (ORCID: https://orcid.org/0009-0003-8892-5699)
- Hong Zhu (ORCID: https://orcid.org/0000-0001-9815-3934)
Institutions
- Huazhong University of Science and Technology (CN)
- Carnegie Mellon University (US)
Publication Details
- Published
- 2024-12-13
- DOI
- https://doi.org/10.1109/hpcc64274.2024.00205
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Research and Development