Smooth release upgrading method and device, computer system and readable storage medium
A computer program and smooth technology, applied in transmission systems, digital transmission systems, software deployment, etc., can solve problems such as the inability of request traffic to return correct values, unstable operation of the microservice architecture, etc., to achieve immediacy and avoid running stable effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] see figure 1 , a method for smooth release and upgrade based on cloud technology in this embodiment, including:
[0050] S101: Receive upgrade data, identify an instance to be upgraded according to the upgrade data, and stop routing traffic to the instance to be upgraded;
[0051] S102: After a preset delay period, detect whether the instance to be upgraded has traffic; if not, execute the step S103 to upgrade the instance to be upgraded; if so, send abnormal information to the control terminal;
[0052] S103: Upgrade the instance to be upgraded by using the upgrade data to obtain an upgraded instance;
[0053] S104: Start the upgraded instance to receive traffic.
[0054] This application detects the traffic of the instance to be upgraded to ensure that there is no traffic in the instance to be upgraded before upgrading it, which ensures the stability of the microservice architecture and provides a basis for the smooth upgrade of the instance; self-stopping to the in...
Embodiment 2
[0082] see Figure 5 , a smooth release upgrade device A1 based on cloud technology in this embodiment, including:
[0083] The identification stop module 11 is used to receive the upgrade data and identify the instance to be upgraded according to the upgrade data, and stop routing traffic to the instance to be upgraded;
[0084] The traffic monitoring module 12 is used to detect whether the instance to be upgraded has traffic after a preset delay period; if not, upgrade the instance to be upgraded; if so, send abnormal information to the control terminal;
[0085] An upgrade module 13, configured to upgrade the instance to be upgraded through the upgrade data to obtain an upgrade instance;
[0086] A starting module 14, configured to start the upgrade instance to receive traffic.
[0087] This technical solution is based on the cloud transmission field of cloud technology, by receiving the upgrade data and identifying the instance to be upgraded according to the upgrade dat...
Embodiment 3
[0089] see Figure 6 , a method for smooth release and upgrade based on cloud technology in this embodiment, including:
[0090] S201: The publishing system receives the upgrade data sent by the control terminal, and identifies the ID of the instance to be upgraded in the gateway according to the upgrade data;
[0091] S203: The gateway identifies the instance to be upgraded according to the ID in the release preparation information, and sends the release preparation information with the ID of the instance to be upgraded to the load balancer;
[0092] S204: The load balancer stops routing traffic to the instance to be upgraded according to the ready-to-publish information;
[0093] S206: The publishing system upgrades the instance to be upgraded so that it becomes an upgraded instance.
[0094] In this step, the upgrade data includes upgrade information for upgrading the instance in the gateway and the ID of the instance; identify the instance that needs to be upgraded accor...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com