Network request processing system and method

A network request and processing system technology, applied in the field of network applications, can solve problems such as energy waste, impact on NGINX scalability, frequent context switching, etc., and achieve the effects of reducing energy consumption, increasing request processing speed, and saving CPU resources

Active Publication Date: 2020-06-19
SHANGHAI JIAO TONG UNIV
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above-mentioned defects in the prior art, the technical problem to be solved by the present invention is that the lock mechanism used by the VPP LDP application interface affects the scalability of NGINX, and at the same time ensures that the control event message metadata items in the VPP event queue are not out of order after unlocking , and the energy waste and frequent context switching caused by the busy polling mechanism used by VPP's epoll event management

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
  • Network request processing system and method
  • Network request processing system and method
  • Network request processing system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following describes several preferred embodiments of the present invention with reference to the accompanying drawings, so as to make the technical content clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned herein.

[0040] In the drawings, components with the same structure are denoted by the same numerals, and components with similar structures or functions are denoted by similar numerals. The size and thickness of each component shown in the drawings are shown arbitrarily, and the present invention does not limit the size and thickness of each component. In order to make the illustration clearer, the thickness of parts is appropriately exaggerated in some places in the drawings.

[0041]In order to solve the problems of how to ensure that the control event message metadata items in the VPP event queue are not ...

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 network processing request system, and relates to the field of Web services. The system comprises a session index unvarnished transmission module, a message metadata item order-preserving module and an active event notification module. The session index unvarnished transmission module and the message metadata item order-preserving module are executed in parallel; the session index unvarnished transmission module takes the session index as a new file descriptor used by the NGINX, and the NGINX takes the original file descriptor of the NGINX as the new session index tofind and access the session; the message metadata item order preserving module comprises a token number and an enqueue number, and checks the consistency of the token number and the enqueue number when the message metadata item is enqueued; the active event notification module comprises a VPP working thread which actively awakens an NGINX working process and an NGINX main process which actively awakens the NGINX working process, and actively inquires a mark in a user mode shared memory to confirm whether an AF_UNIX domain socket epoll event arrives or not. According to the method, the networkrequest processing performance is improved, and when no network request exists or the request amount is small, CPU resources are saved, and energy consumption is reduced.

Description

technical field [0001] The invention relates to the network application field responsible for network request processing and load balancing at the edge of the network center in the field of Web services, in particular to a network request processing system and method. Background technique [0002] Thanks to the increasing number of mobile phones, smart watches, and Internet TVs, users' demand for access to various websites is also increasing. Huge website access requests put a lot of pressure on the website. At present, many websites use network applications that can forward requests to load balance network requests. NGINX is currently a widely used high-performance HTTP request forwarding and processing network application, and is used by many well-known websites for load balancing at the edge of the data center. The characteristic of NGINX is that it can maintain tens of thousands of connections with a small memory footprint. However, one of the currently popular soluti...

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): H04L29/08G06F9/52G06F9/54
CPCH04L67/02H04L67/141G06F9/542G06F9/544G06F9/526H04L67/56H04L67/60
Inventor 李健张泽宇管海兵
Owner SHANGHAI JIAO TONG UNIV
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