CN112181441A - Construction and application deployment method and system using chaos engineering and gray scale release - Google Patents

Construction and application deployment method and system using chaos engineering and gray scale release Download PDF

Info

Publication number
CN112181441A
CN112181441A CN202011033344.4A CN202011033344A CN112181441A CN 112181441 A CN112181441 A CN 112181441A CN 202011033344 A CN202011033344 A CN 202011033344A CN 112181441 A CN112181441 A CN 112181441A
Authority
CN
China
Prior art keywords
application
gateway
gray scale
request
edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011033344.4A
Other languages
Chinese (zh)
Inventor
傅家林
曹礼俊
李桂林
畅威威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wanxiang Blockchain Inc
Original Assignee
Shanghai Wanxiang Blockchain Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wanxiang Blockchain Inc filed Critical Shanghai Wanxiang Blockchain Inc
Priority to CN202011033344.4A priority Critical patent/CN112181441A/en
Publication of CN112181441A publication Critical patent/CN112181441A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention provides a construction and application deployment method and a system using chaos engineering and gray scale release, which comprises the following steps: an edge calculation step: deploying a plurality of edge nodes realized based on an edge model; a gray level releasing step: the edge node forms a service by a gateway and a back-end application module; chaotic engineering steps: at the edge node, the gateway customizes and adjusts the network environment related index, the application running load related index and the running index of the normal service state of the appointed back end, so that the application adapts to various environments. The invention combines the chaos engineering and the gray level scheme application, reduces the expenditure of manpower and material resources brought by the traditional service deployment, and then improves the availability and efficiency of the application version iteration.

Description

Construction and application deployment method and system using chaos engineering and gray scale release
Technical Field
The invention relates to the technical field of cloud computing, in particular to a construction and application deployment method and system using chaotic engineering and gray scale release.
Background
The cloud-native-based application deployment scheme is based on cloud computing centralization construction, and as the number of applications is increased, the network bandwidth and server pressure tend to increase linearly, so that the cost pressure is brought, meanwhile, the problem of data ownership which can not be avoided by public clouds is used, the privacy data need to be uploaded to a cloud computing center in a traditional cloud computing mode, and the risk of revealing the user privacy data is increased. Meanwhile, by combining distributed computation of edge computation species, cross-domain authentication is carried out to ensure the data ownership of users in different trust domains and heterogeneous network environments, edge computation and chaotic engineering are combined, the high availability of application deployment can be improved, the efficiency of application deployment can be improved by gray scale release, and the effect of thermal update is realized by deploying applications in batches.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a construction and application deployment method and system using chaotic engineering and gray scale release.
The construction and application deployment method using chaos engineering and gray scale release provided by the invention comprises the following steps:
an edge calculation step: deploying a plurality of edge nodes realized based on an edge model;
a gray level releasing step: the edge node forms a service by a gateway and a back-end application module;
chaotic engineering steps: at the edge node, the gateway customizes and adjusts the network environment related index, the application running load related index and the running index of the normal service state of the appointed back end, so that the application adapts to various environments.
Preferably, the edge node can autonomously provide application services in a network disconnection environment, and services can also be reported to the data center to realize multi-backup of service data in a node networking environment.
Preferably, the gray release step:
processing a request from an upstream at a gateway layer, during application release, segmenting and filtering the request from the upstream by the gateway, and segmenting the request in the gateway by using a preset rule;
after division and filtration, the request is introduced into different versions in a gray scale mode, whether the issued expected version is in accordance with expectation or not is judged through feedback of different versions to flow, and a gateway is informed that the expected version is in accordance with the expectation, so that iteration of the versions is realized, and meanwhile, the usability after deployment is ensured.
Preferably, the segmentation rule is determined by different request identifiers, labels and according with a certain wildcard requirement;
the method comprises the following steps:
according to the specific version identification in the flow request packet;
identified by different sub-paths in the request;
routing rules defined using regular expressions.
The invention provides a construction and application deployment system using chaos engineering and gray scale release, which comprises:
an edge calculation module: deploying a plurality of edge nodes realized based on an edge model;
a gray level release module: the edge node forms a service by a gateway and a back-end application module;
a chaos engineering module: at the edge node, the gateway customizes and adjusts the network environment related index, the application running load related index and the running index of the normal service state of the appointed back end, so that the application adapts to various environments.
Preferably, the edge node can autonomously provide application services in a network disconnection environment, and services can also be reported to the data center to realize multi-backup of service data in a node networking environment.
Preferably, the gray scale issuing module:
processing a request from an upstream at a gateway layer, during application release, segmenting and filtering the request from the upstream by the gateway, and segmenting the request in the gateway by using a preset rule;
after division and filtration, the request is introduced into different versions in a gray scale mode, whether the issued expected version is in accordance with expectation or not is judged through feedback of different versions to flow, and a gateway is informed that the expected version is in accordance with the expectation, so that iteration of the versions is realized, and meanwhile, the usability after deployment is ensured.
Preferably, the segmentation rule is determined by different request identifiers, labels and according with a certain wildcard requirement;
the method comprises the following steps:
according to the specific version identification in the flow request packet;
identified by different sub-paths in the request;
routing rules defined using regular expressions.
According to the computer readable storage medium storing the computer program provided by the present invention, when the computer program is executed by a processor, the method for constructing and deploying an application using chaos engineering and gray scale publishing according to any one of the above-mentioned steps is implemented.
Compared with the prior art, the invention has the following beneficial effects:
1) the arrangement mode of the edge model reduces the centralized processing pressure brought by the traditional cloud protogenesis.
2) The chaos engineering and the gray level scheme are combined, the expenditure of manpower and material resources brought by the traditional service deployment is reduced, and the availability and the efficiency of the iteration of the application version are improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a schematic diagram of an edge model-based gray scale publishing and chaos architecture according to the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
The construction and application deployment method using chaos engineering and gray scale release provided by the invention comprises the following steps:
an edge calculation step: deploying a plurality of edge nodes realized based on an edge model;
a gray level releasing step: the edge node forms a service by a gateway and a back-end application module;
chaotic engineering steps: at the edge node, the gateway customizes and adjusts the network environment related index, the application running load related index and the running index of the normal service state of the appointed back end, so that the application adapts to various environments.
Specifically, the edge node can autonomously provide application services in a network disconnection environment, and services can also be reported to the data center to realize multi-backup of service data in a node networking environment.
Specifically, the gray scale issuing step:
processing a request from an upstream at a gateway layer, during application release, segmenting and filtering the request from the upstream by the gateway, and segmenting the request in the gateway by using a preset rule;
after division and filtration, the request is introduced into different versions in a gray scale mode, whether the issued expected version is in accordance with expectation or not is judged through feedback of different versions to flow, and a gateway is informed that the expected version is in accordance with the expectation, so that iteration of the versions is realized, and meanwhile, the usability after deployment is ensured.
Specifically, the segmentation rule is that different request identifiers and labels meet a certain wildcard requirement;
the method comprises the following steps:
according to the specific version identification in the flow request packet;
identified by different sub-paths in the request;
routing rules defined using regular expressions.
The construction and application deployment system using the chaotic engineering and the gray scale release can be realized by the steps and the flows of the construction and application deployment method using the chaotic engineering and the gray scale release. Those skilled in the art can understand the construction and application deployment method using the chaos engineering and the gray scale publishing as a preferred example of the construction and application deployment system using the chaos engineering and the gray scale publishing.
The invention provides a construction and application deployment system using chaos engineering and gray scale release, which comprises:
an edge calculation module: deploying a plurality of edge nodes realized based on an edge model;
a gray level release module: the edge node forms a service by a gateway and a back-end application module;
a chaos engineering module: at the edge node, the gateway customizes and adjusts the network environment related index, the application running load related index and the running index of the normal service state of the appointed back end, so that the application adapts to various environments.
Specifically, the edge node can autonomously provide application services in a network disconnection environment, and services can also be reported to the data center to realize multi-backup of service data in a node networking environment.
Specifically, the gray scale issuing module:
processing a request from an upstream at a gateway layer, during application release, segmenting and filtering the request from the upstream by the gateway, and segmenting the request in the gateway by using a preset rule;
after division and filtration, the request is introduced into different versions in a gray scale mode, whether the issued expected version is in accordance with expectation or not is judged through feedback of different versions to flow, and a gateway is informed that the expected version is in accordance with the expectation, so that iteration of the versions is realized, and meanwhile, the usability after deployment is ensured.
Specifically, the segmentation rule is that different request identifiers and labels meet a certain wildcard requirement;
the method comprises the following steps:
according to the specific version identification in the flow request packet;
identified by different sub-paths in the request;
routing rules defined using regular expressions.
According to the computer readable storage medium storing the computer program provided by the present invention, when the computer program is executed by a processor, the method for constructing and deploying an application using chaos engineering and gray scale publishing according to any one of the above-mentioned steps is implemented.
The present invention will be described more specifically below with reference to preferred examples.
The preferred embodiment is as follows:
based on an edge calculation model, construction and application deployment are carried out by using chaotic engineering and gray scale release
The patent technology is roughly divided into the following three aspects:
in the aspect of edge computing, a plurality of application nodes (namely edge nodes) realized based on an edge model are deployed, the edge nodes can independently provide application services under the condition of network disconnection, and the services can also be reported to a data center under the condition of node networking to realize multi-place backup of service data.
In the aspect of gray scale release, services at edge nodes form a small service by modules such as a gateway and a back-end application. At the gateway layer, we process the request from the upstream, during the application release, the gateway will segment and filter the request from the upstream, we segment the request in the gateway by some rules, which can be, by different request identifications, labels, meeting some wildcard requirements (segmentation rule: 1, according to the specific version identification in the traffic request packet; 2, by different sub-paths in the request; 3, routing rule defined by regular expression). After the segmentation and filtering, a request is introduced (which may be introduced through a gateway service) to different versions of an application in a grayscale manner, and through feedback of different versions to traffic, a user can determine whether an expected version of a release is in line with an expectation, so as to notify a gateway that the expected version is in line with the expectation, thereby implementing iteration of the versions, and at the same time, in order to ensure availability after deployment.
Chaotic engineering aspects, services on edge nodes. The gateway can customize and adjust the network environment related indexes, the application running load related indexes and the service normal state running indexes of certain applications to the designated back end, so that the applications are adaptive to various environments, namely, the emergency capability of the system and the usability improvement of the system are perfected through a chaos engineering theory.
In the description of the present application, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present application.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (9)

1. A construction and application deployment method using chaos engineering and gray scale release is characterized by comprising the following steps:
an edge calculation step: deploying a plurality of edge nodes realized based on an edge model;
a gray level releasing step: the edge node forms a service by a gateway and a back-end application module;
chaotic engineering steps: at the edge node, the gateway customizes and adjusts the network environment related index, the application running load related index and the running index of the normal service state of the appointed back end, so that the application adapts to various environments.
2. The method for constructing and deploying applications using chaotic engineering and gray scale publishing according to claim 1, wherein the edge nodes can provide application services autonomously in a network disconnection environment, and the services can also be reported to a data center to realize multi-backup of service data in a node networking environment.
3. The construction and application deployment method using chaotic engineering and gray scale publishing according to claim 1, wherein the gray scale publishing step comprises:
processing a request from an upstream at a gateway layer, during application release, segmenting and filtering the request from the upstream by the gateway, and segmenting the request in the gateway by using a preset rule;
after division and filtration, the request is introduced into different versions in a gray scale mode, whether the issued expected version is in accordance with expectation or not is judged through feedback of different versions to flow, and a gateway is informed that the expected version is in accordance with the expectation, so that iteration of the versions is realized, and meanwhile, the usability after deployment is ensured.
4. The construction and application deployment method using chaotic engineering and gray scale publishing according to claim 1, wherein the segmentation rule is that different request identifiers, labels are passed to meet a wildcard requirement;
the method comprises the following steps:
according to the specific version identification in the flow request packet;
identified by different sub-paths in the request;
routing rules defined using regular expressions.
5. A construction and application deployment system using chaotic engineering and gray scale release is characterized by comprising the following components:
an edge calculation module: deploying a plurality of edge nodes realized based on an edge model;
a gray level release module: the edge node forms a service by a gateway and a back-end application module;
a chaos engineering module: at the edge node, the gateway customizes and adjusts the network environment related index, the application running load related index and the running index of the normal service state of the appointed back end, so that the application adapts to various environments.
6. The construction and application deployment system using chaotic engineering and gray scale publishing according to claim 5, wherein the edge nodes need to have an off-network environment and can provide application services autonomously, and the services can also be reported to a data center to realize multi-backup of service data under the node networking condition.
7. The construction and application deployment system using chaotic engineering and gray scale publishing according to claim 5, wherein the gray scale publishing module:
processing a request from an upstream at a gateway layer, during application release, segmenting and filtering the request from the upstream by the gateway, and segmenting the request in the gateway by using a preset rule;
after division and filtration, the request is introduced into different versions in a gray scale mode, whether the issued expected version is in accordance with expectation or not is judged through feedback of different versions to flow, and a gateway is informed that the expected version is in accordance with the expectation, so that iteration of the versions is realized, and meanwhile, the usability after deployment is ensured.
8. The construction and application deployment system using chaotic engineering and gray scale publishing according to claim 5, wherein the segmentation rule is that different request identifiers, labels, are used to meet a wildcard requirement;
the method comprises the following steps:
according to the specific version identification in the flow request packet;
identified by different sub-paths in the request;
routing rules defined using regular expressions.
9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for construction and application deployment using chaotic engineering and gray scale publishing according to any one of claims 1 to 4.
CN202011033344.4A 2020-09-27 2020-09-27 Construction and application deployment method and system using chaos engineering and gray scale release Pending CN112181441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011033344.4A CN112181441A (en) 2020-09-27 2020-09-27 Construction and application deployment method and system using chaos engineering and gray scale release

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011033344.4A CN112181441A (en) 2020-09-27 2020-09-27 Construction and application deployment method and system using chaos engineering and gray scale release

Publications (1)

Publication Number Publication Date
CN112181441A true CN112181441A (en) 2021-01-05

Family

ID=73945129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011033344.4A Pending CN112181441A (en) 2020-09-27 2020-09-27 Construction and application deployment method and system using chaos engineering and gray scale release

Country Status (1)

Country Link
CN (1) CN112181441A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925528A (en) * 2021-01-28 2021-06-08 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN113010436A (en) * 2021-04-08 2021-06-22 北京百度网讯科技有限公司 Distributed system testing method and device
CN113206876A (en) * 2021-04-28 2021-08-03 南京航空航天大学 Service redeployment method for dual-label perception in mobile edge computing environment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975270A (en) * 2016-05-04 2016-09-28 北京思特奇信息技术股份有限公司 Gray scale distribution method and system based on HTTP request forwarding
CN109302483A (en) * 2018-10-17 2019-02-01 网宿科技股份有限公司 A kind of management method and system of application program
CN109920544A (en) * 2019-01-28 2019-06-21 浙江工业大学 Real-time adaptive intelligent Building System based on body-sensing information
CN110113827A (en) * 2019-04-14 2019-08-09 蘑菇物联技术(深圳)有限公司 Electromechanical equipment joint control method based on wireless telecommunications and edge calculations technology
CN110784409A (en) * 2019-10-31 2020-02-11 湖南御家科技有限公司 Spring Cloud-based micro-service gray level publishing method
CN110825000A (en) * 2019-11-29 2020-02-21 山东大学 Multi-loop intelligent energy-saving control system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975270A (en) * 2016-05-04 2016-09-28 北京思特奇信息技术股份有限公司 Gray scale distribution method and system based on HTTP request forwarding
CN109302483A (en) * 2018-10-17 2019-02-01 网宿科技股份有限公司 A kind of management method and system of application program
CN109920544A (en) * 2019-01-28 2019-06-21 浙江工业大学 Real-time adaptive intelligent Building System based on body-sensing information
CN110113827A (en) * 2019-04-14 2019-08-09 蘑菇物联技术(深圳)有限公司 Electromechanical equipment joint control method based on wireless telecommunications and edge calculations technology
CN110784409A (en) * 2019-10-31 2020-02-11 湖南御家科技有限公司 Spring Cloud-based micro-service gray level publishing method
CN110825000A (en) * 2019-11-29 2020-02-21 山东大学 Multi-loop intelligent energy-saving control system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925528A (en) * 2021-01-28 2021-06-08 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN113010436A (en) * 2021-04-08 2021-06-22 北京百度网讯科技有限公司 Distributed system testing method and device
CN113206876A (en) * 2021-04-28 2021-08-03 南京航空航天大学 Service redeployment method for dual-label perception in mobile edge computing environment
CN113206876B (en) * 2021-04-28 2023-01-06 南京航空航天大学 Service redeployment method for dual-label perception in mobile edge computing environment

Similar Documents

Publication Publication Date Title
CN112181441A (en) Construction and application deployment method and system using chaos engineering and gray scale release
CN107888425B (en) network slice deployment method and device for mobile communication system
CN110336753B (en) Cross-network-area service calling method, device, equipment and storage medium
US20160173329A1 (en) Methods, systems, and computer readable media for configuring a flow interface on a network routing element
CN109196828A (en) A kind of method for managing resource and device of network slice
CN105531972A (en) Controlling data storage input/output requests
CN104202264A (en) Carrying resource allocation method for clouded data center network, device and system
CN103152197B (en) Rule set layout processing method, device and cluster data system
CN104956629B (en) Event distributing method in software defined network, control device and processor
CN104601680A (en) Resource management method and device
CN107534577B (en) Method and equipment for instantiating network service
CN109842895A (en) A kind of network reliability configuration method, information transferring method and device and system
WO2022001941A1 (en) Network element management method, network management system, independent computing node, computer device, and storage medium
CN113220422B (en) Method and system for modifying Pod network interface based on operation of CNI plug-in K8s
CN110366056B (en) Method, device, equipment and storage medium for realizing ASON business model
CN104811922A (en) Adjacent node registration method and the device and cross-node registration method and system
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN104811403A (en) Openflow-based group table processing method and device and group table configuration unit
EP3742682A1 (en) Peer-to-peer rerouting method and device
CN112351106A (en) Service grid platform containing event grid and communication method thereof
US9705742B2 (en) Method and apparatus for enabling M2M service and H2H service to coexist
CN109391545B (en) System and method for discovering inter-domain link
CN112398908B (en) Block chain network node deleting method, system, storage medium and device
CN110855541B (en) Ring splitting method and device for ring network equipment
CN108965163A (en) Bandwidth adjusting method and device, storage medium and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination