Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and storage medium for updating service instance

A service instance and update method technology, applied in the computer field, can solve problems such as tediousness, interruption of business processing, poor experience of service users, etc., and achieve the effect of reducing error probability and manual operation

Active Publication Date: 2022-05-06
MIGU CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In actual production, the above-mentioned service update operation has the following problems: during the update process of the application service, business processing may be interrupted, which makes the experience of the service user poor; As the number of instances corresponding to the service to be updated increases, the complexity of the update operation will also increase; if the update fails, it cannot be automatically rolled back, and the reverse operation of the update needs to be performed manually, which is cumbersome and error-prone

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and storage medium for updating service instance
  • Method, device and storage medium for updating service instance
  • Method, device and storage medium for updating service instance

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0129] The first determining unit is configured to determine the total number of first instances corresponding to the new version service;

[0130] The second determining unit is configured to determine the number of first instances to be started each time according to the total number of first instances and the first ratio;

[0131] The starting unit is configured to start instances corresponding to the first number of instances in batches.

[0132] In other embodiments, the start-stop module includes: a third determination unit, a fourth determination unit, and a first stop unit; wherein,

[0133] The third determining unit is configured to determine the second total number of instances corresponding to the old version service;

[0134] The fourth determination unit is configured to determine the second number of instances stopped each time according to the second total number of instances and the second ratio;

[0135] The first stopping unit is configured to stop instanc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application discloses a method for updating a service instance. The method for updating a service instance includes: determining the new version of the service to be updated; determining the currently running old version of the service; receiving an update operation start instruction, and the update operation starts The instruction is used to instruct to start the update operation of the service instance; based on the update operation start instruction, start the instances corresponding to the new version service in batches according to the preset first ratio, and stop them in batches according to the preset second ratio The instance corresponding to the old version of the service is updated until the instance corresponding to the new version of the service and the instance corresponding to the old version of the service are updated; the embodiment of the present application also discloses a service instance update device and a storage medium.

Description

technical field [0001] The embodiment of the present application relates to the field of computer technology, and relates to but not limited to a method, device and storage medium for updating a service instance. Background technique [0002] In related technologies, when a business application needs to update the service due to program changes, the operation and maintenance personnel need to stop the application service, replace the service application, and restart the operation. to the operation. [0003] In actual production, the above-mentioned service update operation has the following problems: during the update process of the application service, business processing may be interrupted, which makes the experience of the service user poor; As the number of instances corresponding to the service to be updated increases, the complexity of the update operation will also increase; if the update fails, it cannot be rolled back automatically, and the reverse operation of the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/65
Inventor 陈旻周建生顾明饶明佺
Owner MIGU CO LTD