Multi-dimensional service flow limiting method and system based on shared memories among 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, which can solve the problems that the current limiting algorithm cannot meet the requirements of current limiting, and achieve the effect of solving performance problems

Active Publication Date: 2019-06-11
今天东翼科技有限公司
View PDF5 Cites 3 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

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
  • Multi-dimensional service flow limiting method and system based on shared memories among containers
  • Multi-dimensional service flow limiting method and system based on shared memories among containers
  • Multi-dimensional service flow limiting method and system based on shared memories among 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 invention provides a multi-dimensional service flow limiting method and system based on an inter-container shared memory. The method comprises the steps that for a plurality of application processes on the same server, a flow limiting counting file is mapped into a virtual address space of the application processes through the MMAP technology, and for any application process,three dimensions of the application process are selected for flow limiting according to the type of the application process. According to the multi-dimensional service flow limiting method and systembased on the shared memory between the containers, the problem that a traditional flow limiting method cannot cross service containers is solved, the performance problem caused by the fact that a common distributed flow limiting algorithm accesses three-party middleware is solved, and good balance is achieved between the traditional flow limiting method and the three-party middleware.

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 among 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 tra...

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
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