Gray release method capable of realizing dynamic configuration

A technology of grayscale publishing and dynamic configuration, applied in Internet-related fields, can solve problems such as user inconvenience, difficulty in compatibility with different systems, and user loss, so as to avoid inconvenience, reduce online risk, and improve high availability.

Pending Publication Date: 2020-08-04
HANGZHOU ARCVIDEO TECHNOLOGY CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the traditional system upgrade and release, there are the following problems: during the upgrade process, the online service needs to be stopped, which not only needs to be announced in advance, but also will cause some inconvenience to users; it involves a wide range of areas and has a great impact; user habits Changes may lead to a certain loss of users; every release, especially a large version release, is like facing an enemy; even if a part uses grayscale release, it is often implemented with common parameters or values, which is difficult to be compatible with different systems

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
  • Gray release method capable of realizing dynamic configuration
  • Gray release method capable of realizing dynamic configuration
  • Gray release method capable of realizing dynamic configuration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0029] Such as figure 1 In the described embodiment, a grayscale release method that can be dynamically configured includes an nginx server, a lua grayscale engine, and a grayscale management system. Publish and forward the core script code. The grayscale management system provides the latest grayscale policy interface and a management platform for policy processing, including the following steps:

[0030] (1) When the nginx server starts, a timetask timing task (can be set, such as 5 minutes) is generated. This task obtains the latest grayscale policy from the grayscale management system; in the grayscale management system, the administrator modifies and updates the grayscale policy to the latest grayscale In the grayscale strategy, modifying and updating the grayscale strategy includes stopping, enabling grayscale, updating policy content, e...

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 invention discloses a gray release method capable of realizing dynamic configuration. The method specifically comprises the following steps: (1) generating a timemask timing task when an nginx server is started, and acquiring a latest gray scale strategy from a gray scale management system by the task; (2) caching the latest gray scale strategy into a Lua gray scale engine; (3) enabling the user to initiate a request through the client; (4) matching the request data of the user with the latest gray scale strategy in the lua gray scale engine; (5) if the request data is not matched with thelatest gray scale strategy, forwarding the latest gray scale strategy to an original stable version server; and (6) if the request data is not matched with the latest gray scale strategy, forwardingthe the latest gray scale strategy to a gray version server. The method has the beneficial effects that the release range is controllable, and the online risk can be reduced; flow control and cut-in are easy to realize; when a problem occurs, rolling-back operation can be carried out immediately; a target user is designated, targeted product function verification can be achieved, and effective feedback is collected; inconvenience brought to a user by service stopping can be avoided, and high availability is improved.

Description

technical field [0001] The present invention relates to the technical field related to the Internet, in particular to a grayscale publishing method capable of dynamic configuration. Background technique [0002] In the traditional system upgrade and release, there are the following problems: during the upgrade process, the online service needs to be stopped, which not only needs to be announced in advance, but also will cause some inconvenience to users; it involves a wide range of areas and has a great impact; user habits Changes may lead to a certain loss of users; every release, especially a large version release, is like facing an enemy; even if a part uses grayscale release, it is often implemented with common parameters or values, which is difficult to be compatible with different systems . Contents of the invention [0003] The present invention aims to overcome the above-mentioned shortcomings in the prior art, and provides a gray scale release method with a contr...

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 Applications(China)
IPC IPC(8): G06F8/65G06F8/71
CPCG06F8/65G06F8/71
Inventor 陈天辉佘永涛汪本义
Owner HANGZHOU ARCVIDEO TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products