Due to the containerized deployment environment, microservice orchestration requires coordination of multiple independently running services. This highly decoupled and distributed architecture increases the complexity of orchestration, and existing static resource allocation strategies are difficult to provide sufficient fault tolerance in the face of sudden failures. Therefore, this article introduced a dynamic fault-tolerant scheduling algorithm based on Qlearning, which monitored service status in real-time, predicted potential faults, and dynamically adjusted resource allocation to improve system stability and fault tolerance. Firstly, microservices are modularized using the container orchestration tool Kubernetes, and containerization technology is utilized to encapsulate each service in a separate Pod for operation. Elastic allocation of resources can be achieved through Kubernetes’ automated scheduling mechanism, while efficient service communication and load balancing can be achieved through service mesh; Secondly, a dynamic faulttolerant scheduling algorithm based on Q-learning is introduced, combined with real-time monitoring data of CPU (Central Processing Unit), memory, network traffic, etc., deployed in containers, to establish a fault prediction model. Finally, long short-term memory networks can be used to dynamically analyze and predict the load status and historical fault records of each service node, identify potential faults in real time, and automatically adjust resource allocation strategies based on the prediction results, reallocate service loads or start backup instances. The experimental results show that the Q-learningbased dynamic fault-tolerant scheduling algorithm effectively improves the system’s fault tolerance and stability. The analysis of fault recovery time showed that the recovery time for CPU overload, memory leakage, and network congestion was significantly reduced within 48 hours, to 7 seconds, 9 seconds, and 12 seconds, respectively. This algorithm effectively solves the key problems of microservice orchestration and fault tolerance in containerized deployment environments, providing important support for improving system stability.
Technical Middleware Microservice Orchestration and Fault-Tolerant Mechanism Algorithms for Containerized Deployment
2024-10-23
903684 byte
Conference paper
Electronic Resource
English
Vehicle control module including containerized orchestration and resource management
European Patent Office | 2024
|A fault-tolerant middleware switch for space applications
Tema Archive | 2009
|European Patent Office | 2024
|