Nacos cluster lossless upgrade and flow migration method and system based on double-center environment
By deploying Nacos cluster in a dual-center environment and using Nginx servers and load balancers for traffic management, the problem of unsmooth traffic migration during Nacos cluster upgrade is solved, and lossless upgrades and capacity expansion is achieved, ensuring high availability and stability.
Patent Information
- Application Number
- CN202411774411.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-12-05
AI Technical Summary
When upgrading Nacos clusters, it is difficult to smoothly migrate traffic without affecting existing services, which can easily lead to cluster avalanches, instance drops and instance loss.
Using the lossless upgrade and traffic migration method of Nacos cluster based on a dual-center environment, a proxy that registers heartbeat traffic and subscribes traffic is realized by deploying the first and second Nacos clusters and configuring an Nginx server for the center of each cluster. Use load balancer intelligent scheduling to gradually switch traffic to the new cluster to ensure that the number of instances is stable and consistent before upgrading is completed.
The lossless upgrade and expansion of the Nacos cluster is realized, which avoids cluster avalanche, instance drop and instance loss problems, ensures high availability and stability, ensures no sense of application during the upgrade process, and has no impact on transactions, and improves the scalability and processing capabilities of the system.