Research on Container Load Strategy Based on Microservices

For the problems of unbalanced load and long service response time in microservice-based container environments, this paper designs a load model that is easy to expand and maintain, which combines the service discovery of microservices, performance monitoring of servers and containers, and container load balancing, and as for the shortcomings of load balancing algorithm-the premature convergence of Ant Colony algorithm as well as the shortcomings of the load balancing algorithm in springcloud-the long service response time of Minimum Concurrency Algorithm, it proposes an Optimized Ant Colony algorithm (OACO), OACO optimizes the Ant Colony algorithm by introducing a fuse mechanism and an open circuit recovery mechanism. The simulation results show that the Optimized Ant Colony algorithm (OACO) has advantages in load balance and service response time over Ant Colony algorithm and the service response time is improved with respect to Minimum Concurrency Algorithm.