Flow limiting method and device based on Zuul, equipment and storage medium

A technology for limiting traffic and limiting information. It is applied in the field of micro-service systems and can solve the problems of increasing load pressure of current-limiting services, difficult configuration of personalized policies, and single current-limiting policy.

Active Publication Date: 2019-10-25
SOUTH CENTRAL UNIVERSITY FOR NATIONALITIES
View PDF6 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing gateway software such as Nginx provides a relatively fine application programming interface (Application Programming Interface, API) flow limiting service, but when applied to a microservice system, the flow limiting strategy is single and personalized strategy configuration is difficult; and in the case of non-high concurrency The additional overhead of lower-throttled streaming services will significantly increase the load pressure

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
  • Flow limiting method and device based on Zuul, equipment and storage medium
  • Flow limiting method and device based on Zuul, equipment and storage medium
  • Flow limiting method and device based on Zuul, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0057] refer to figure 1 , figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0058] Such as figure 1As shown, the device may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a button, and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI inter...

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 flow limiting method, device and equipment based on Zuul and a storage medium. The method comprises: acquiring request information sent by a client through a Zuul gateway; analyzing the request information, and extracting current address information in the request information from an analysis result; searching a target token bucket corresponding to the current address information in a buffer; extracting target flow restriction information in the target token bucket; judging whether the request information meets the target flow restriction information or not; and whenthe request information satisfies the target traffic restriction information, discarding the request information to realize flow restriction, thereby storing the flow restriction information in a token bucket in a mode of combining a Zuul gateway with the token bucket, and realizing finer flow restriction for different access requests.

Description

technical field [0001] The present invention relates to the technical field of microservice systems, in particular to a Zuul-based flow limitation method, device, equipment and storage medium. Background technique [0002] The routing gateway is the data boundary of the microservice system. In the case of high concurrency, a large amount of data enters the system through the gateway, resulting in excessive system load pressure, which requires efficient traffic limiting services to solve. Existing gateway software such as Nginx provides a relatively fine application programming interface (Application Programming Interface, API) flow limiting service, but when applied to a microservice system, the flow limiting strategy is single and personalized strategy configuration is difficult; and in the case of non-high concurrency The additional overhead of lower-throttled streaming services can significantly increase load pressure. Contents of the invention [0003] The main purpos...

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/807H04L12/819H04L12/823H04L47/27H04L47/21H04L47/32
CPCH04L47/215H04L47/27H04L47/32
Inventor 帖军童壮覃俊李子茂毛腾跃吴经龙鲁建明
Owner SOUTH CENTRAL UNIVERSITY FOR NATIONALITIES
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