Unlock instant, AI-driven research and patent intelligence for your innovation.

Nginx traffic restriction early warning method and device

A technology of traffic limitation and equipment, applied in the computer field, can solve problems such as waste of resources, limited business systems, performance bottlenecks of application containers, etc., and achieve the effect of avoiding waste of resource costs

Pending Publication Date: 2022-04-12
SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] One purpose of this application is to provide a method and device for Nginx traffic limit early warning, to solve the problems in the prior art that are limited by the performance bottleneck of the business system application container and the large waste of resources

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
  • Nginx traffic restriction early warning method and device
  • Nginx traffic restriction early warning method and device
  • Nginx traffic restriction early warning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The application will be described in further detail below in conjunction with the accompanying drawings.

[0041] In a typical configuration of this application, the terminal, the device serving the network, and the trusted party all include one or more processors (such as a central processing unit (Central Processing Unit, CPU)), an input / output interface, a network interface, and a memory .

[0042] Memory may include non-permanent memory in computer-readable media, random access memory (Random Access Memory, RAM) and / or non-volatile memory, such as read-only memory (Read Only Memory, ROM) or flash memory (flash RAM). Memory is an example of computer readable media.

[0043] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples o...

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 aims to provide an Nginx flow limit early warning method and equipment, and the method comprises the steps: configuring a flow limiting assembly in Nginx middleware of a service system, and starting a change monitoring task of flow limiting early warning configuration through the flow limiting assembly; pulling current-limiting early warning configuration from a distributed configuration center regularly through the change monitoring task, and caching the current-limiting early warning configuration into the Nginx middleware; obtaining an access request of a user for accessing a service system through the Nginx middleware, and intercepting the access request to the traffic limiting component; and performing current limiting processing on the access request according to the current limiting early warning configuration in the current limiting component. Therefore, the flow limiting processing performance can be improved to the greatest extent while the invasiveness to the service code is eliminated, and in addition, the resource cost waste caused by independently applying for and deploying the flow limiting service is avoided.

Description

technical field [0001] The present application relates to the field of computers, in particular to a method and device for Nginx flow limit early warning. Background technique [0002] In order to avoid the impact of sudden traffic on the stability of the system, a current limiting mechanism is generally added to ensure the stability of the system. The implementation of current limiting is mainly divided into the following types: 1) local current limiting, 2) gateway current limiting. The disadvantages of the above two are as follows: [0003] 1) It is intrusive to the business system code, but because the excess traffic has entered the business system, it is limited by the performance bottleneck of the business system application container, so it is not suitable for high-concurrency and high-performance scenarios. [0004] 2) Since it is a unified gateway, it needs to apply for a separate resource for deployment, and there is a large waste of resources. Contents of the ...

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): H04L67/025H04L67/1097H04L67/566H04L67/568H04L67/60H04L9/40
Inventor 吴义良王辉程伟
Owner SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD