Micro-service service fusing method and system

A micro-service and business technology, applied in the field of cloud computing micro-services, can solve problems such as kubernetes cluster cascading faults, B service request squeeze thread blocking, business exception handling and recovery difficult to complete in a short time, etc.

Inactive Publication Date: 2020-04-10
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] After the traditional business is micro-serviced, with the continuous iteration of the business platform and the increasing complexity of functional modules, each micro-service component needs to make a large number of calls between the cluster network and services, resulting in maintenance costs and labor costs. Increase
Especially in the microservice architecture, when the A module fails for some reason, the B service may experience a large number of request squeeze thread blocking at this time, which may cause the upstream C service to become unavailable. At this time, the business has a cascading avalanche effect, and at the same time, it will be difficult to complete the exception handling and recovery of the business in a short time
If a service generates frequent requests or unresponsive requests, it may cause large-scale cascading failures in the kubernetes cluster, resulting in the unavailability of the entire business system and even the kubernetes platform

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
  • Micro-service service fusing method and system
  • Micro-service service fusing method and system
  • Micro-service service fusing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0029] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0030] An embodiment of the present invention provides a microservice business fusing method, such as figure 1 As shown, the method may include step S101 and step S102:

[0031] S101. When the invocation service of the first microservice...

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 invention discloses a micro-service service fusing method and system, and the method comprises the steps: a first micro-service node enables the fusing of a calling service whenthe calling service of the first micro-service node has a fault; when the calling service of the first micro-service node enters a fusing state, the interface calling of the calling service of the second micro-service node does not pass through the first micro-service node any more, and the second micro-service node executes a service file locally stored in a micro-service system server to provideservice, wherein the second micro-service node is a micro-service node for calling the first micro-service node. According to the method, when the service is in a specified time window and the calling of the first micro-service node interface has a fault, fusing is started at the moment; after the service enters the fusing state, the second micro-service node interface calling does not pass through the network any more, the local method is directly executed, and a fusing and exception detection mechanism is used for avoiding a call fault, so that the service capability can be maintained during a system fault.

Description

technical field [0001] Embodiments of the present invention relate to cloud computing micro-service technology, in particular to a micro-service business fusing method and system. Background technique [0002] After the traditional business is micro-serviced, with the continuous iteration of the business platform and the increasing complexity of functional modules, each micro-service component needs to make a large number of calls between the cluster network and services, resulting in maintenance costs and labor costs. Increase. Especially in the microservice architecture, when the A module fails for some reason, the B service may experience a large number of request squeeze thread blocking at this time, which may cause the upstream C service to become unavailable. At this time, the business has a cascading avalanche effect, and it is difficult to complete the exception handling and recovery of the business in a short time. If a service generates frequent requests or unres...

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): H04L12/24H04L29/08H04L29/06
CPCH04L41/0654H04L41/5025H04L67/51H04L67/133
Inventor 刘鹏
Owner INSPUR SUZHOU INTELLIGENT TECH 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