A multi-dimensional service current limiting method and system based on shared memory between containers

A technology of shared memory and current limiting method, which is applied in the field of multi-dimensional service current limiting method and system based on shared memory between containers, can solve the problem that the current limiting algorithm cannot meet the needs of current limiting, and achieves the effect of extending the time range

Active Publication Date: 2021-10-01
今天东翼科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The classic current limiting algorithm proposed based on the current limiting problem solves the impact of unexpected burst traffic on the system, but these algorithms can only limit the current within a single process, and now typical Internet systems are built on Based on micro-service and container technology, the traditional current limiting algorithm cannot meet the requirements of cross-process or even cross-service container current limiting

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
  • A multi-dimensional service current limiting method and system based on shared memory between containers
  • A multi-dimensional service current limiting method and system based on shared memory between containers
  • A multi-dimensional service current limiting method and system based on shared memory between containers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0026] figure 1 It is a flowchart of a multi-dimensional service current limiting method based on shared memory between containers according to an embodiment of the present invention, as shown in figure 1 As shown, the method includes:

[0027] S1, for several application processes on the same server, map the current limiting count file to the v...

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 present invention provides a multi-dimensional service current limiting method and system based on shared memory between containers, the method includes: for several application processes on the same server, map the current limiting count file to the application process by MMAP technology In the virtual address space, for any application process, according to the type of any application process, three dimensions of any application process are selected for current limiting. The embodiment of the present invention provides a multi-dimensional service current limiting method and system based on shared memory between containers, which not only solves the problem that traditional current limiting methods cannot cross service containers, but also solves the problem of general distributed current limiting algorithms accessing three-party middleware A good balance has been achieved between the performance issues brought about.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method and system for multi-dimensional service current limiting based on shared memory between containers. Background technique [0002] In a high-concurrency real-time trading system, when the request traffic of a certain service suddenly surges and influxes continuously, a series of problems such as high service load and network response delay will occur, and a chain reaction may occur, triggering an avalanche, causing other A service is unavailable which, if not addressed, could render the entire system unavailable. [0003] Therefore, it is very important to control the traffic in the service. The high availability and stability of the service can be guaranteed through reasonable restrictions on the traffic. [0004] The classic current limiting algorithm proposed based on the current limiting problem solves the impact of unexpected burst t...

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 Patents(China)
IPC IPC(8): G06F9/455G06F9/54
Inventor 王在祥张永生吴飞
Owner 今天东翼科技有限公司
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