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

Fault simulation method and device, server and storage medium

A fault simulation and fault technology, applied in the field of micro-service architecture, can solve the problem of low efficiency of fault simulation

Inactive Publication Date: 2021-05-28
SHANGHAI BILIBILI TECH CO LTD
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a method to solve the technical problem of low fault simulation efficiency existing in the prior art

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
  • Fault simulation method and device, server and storage medium
  • Fault simulation method and device, server and storage medium
  • Fault simulation method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] In order to solve the technical problem of low fault simulation efficiency in the prior art, in the embodiment of the present application, the target microservice module calls the call entry of other microservice modules, and the target microservice module calls other microservice modules. The exit, and / or the middleware used by the target microservice module to actively call or be called, is used as a fault control object to create a fault, and the target microservice module and the fault control object can be specified by the user.

[0076] The optional implementation mode of the present application is described in further detail below:

[0077] In the embodiment of this application, in order to achieve the expected fault simulation, a fault function package or dependency package can be added on the basis of the chaos engineering tool used for fault simulation. For example, as an implementable method, it can be based on Chaos Monkey (Chaos Monkey) is a tool that adds ...

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 relates to the technical field of micro-service architecture, in particular to a fault simulation method and device, a server and a storage medium, and is used for solving the technical problem of low fault simulation efficiency in the prior art. The fault simulation method comprises the steps of after a fault generation instruction input by a user is received, determining a target micro-service module according to a first instruction input by the user, wherein the first instruction carries identification information of the target micro-service module; determining a fault control object according to a second instruction input by the user, wherein the fault control object is any one or any combination of a calling entrance, a calling exit and middleware used in the calling process of the target micro-service module; and enabling the fault control object to generate a corresponding fault. Based on the fault simulation method, the micro-service module does not need to be modified, and the fault simulation efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of microservice architecture, and in particular to a fault simulation method, device, server, and storage medium. Background technique [0002] The microservice (microservice) architecture is a new technology for deploying applications and services in the cloud. Microservices can run in their "own programs". In service exposure, many services can be limited by internal independent processes. If any of the services needs to add some function, then the scope of the process must be narrowed. In the microservice architecture, it is only necessary to add the required functions in a specific microservice module without affecting the architecture of the overall process. [0003] Under the current technology, system crashes or failures under the microservice architecture are inevitable. A feasible solution to deal with failures is to maintain the system in a state of failure so that it can perform most fu...

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): G06F11/26
CPCG06F11/261
Inventor 张祖德朱杰康斌
Owner SHANGHAI BILIBILI TECH CO LTD