Service flow limiting method and device

A current limiting method and technology of a current limiting device, applied in the field of data processing, can solve the problems of coarse particle size, inability to limit current, and not suitable for upgrading the current limiting function, and achieve the effect of increasing accuracy

Active Publication Date: 2020-07-03
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The flow is limited from the gateway or load balancer where the service is accessed. This kind of flow control has a relatively coarse control granularity, and it is impossible to limit the flow between each service in the internal cluster of the microservice, or to limit the flow of each interface in the internal cluster. Precise current limiting between calls
[0004] Embed the current-limiting fuse function in the relevant framework or program in the microservice. This method has strong coupling to the business program and is not suitable for the upgrade of the current-limiting function in the future.

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
  • Service flow limiting method and device
  • Service flow limiting method and device
  • Service flow limiting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0038] Such as figure 1 As shown, it is a flow chart of a service flow limiting method provided by the present invention, the method includes:

[0039] Step S101, receiving the current limiting policy set by the user;

[0040] Step S102, sending the current limiting policy to the probes of the node servers of each service;

[0041] Step S103, using the probe to limit the current according to the current limiting policy.

[0042] The present invention uses t...

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 provides a service flow limiting method and device. The method comprises the following steps: receiving a flow limiting strategy set by a user; the flow limiting strategy is issued to probes of node servers of all services; and carrying out current limiting by utilizing the probe according to the current limiting strategy. According to the invention, the problem of flow limiting between nodes in the distributed micro-service is solved, the method is non-invasive to the application program, and the application program is non-perceptible to the device. Moreover, the traditional current-limiting middleware can only achieve the interface-level current-limiting capability for the target application, and the current-limiting algorithm is single and low in variability, while the scheme provided by the invention can achieve the method-level current-limiting capability for the target application, and the accuracy of the current-limiting function is improved.

Description

technical field [0001] The present invention relates to data processing technology, specifically a service flow limiting method and device. Background technique [0002] With the popularity of distributed micro-services, the safe and reliable current-limiting and fusing function between internal services has become more and more important. There are two traditional ways of current-limiting and fusing. flow, and the other is to implant current-limiting and circuit-breaking functions in related frameworks or programs in microservices. [0003] The flow is limited from the gateway or load balancer where the service is accessed. This kind of flow control has a relatively coarse control granularity, and it is impossible to limit the flow between each service in the internal cluster of the microservice, or to limit the flow of each interface in the internal cluster. Precise current limiting between calls. [0004] Implanting the current-limiting fuse function in the relevant fra...

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/803H04L12/813H04L12/26H04L29/08G06F9/455H04L47/20
CPCH04L47/125H04L47/20H04L43/12H04L67/1046H04L67/141H04L67/145H04L67/34G06F9/45558G06F2009/45595H04L67/1001
Inventor 顾欣夏龙飞让涛颜高飞
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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