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

A system and method for hot update of nginx configuration based on dpdk technology

A hot update and technical technology, applied in the direction of program control devices, instruments, computing, etc., can solve the problems of business interruption, long time for Nginx restart work process, etc., to save hardware resources and network resources, high-performance reverse proxy service, The effect of high-performance network throughput

Active Publication Date: 2022-03-15
ZHENGZHOU XINDA JIEAN INFORMATION TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But when based on DPDK technology and user mode protocol, due to the limitation of DPDK memory management mechanism and process management mechanism, Nginx takes a long time to restart the working process, which is likely to cause business interruption

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 system and method for hot update of nginx configuration based on dpdk technology
  • A system and method for hot update of nginx configuration based on dpdk technology
  • A system and method for hot update of nginx configuration based on dpdk technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0040] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

[0041] figure 2 It shows a block diagram of a Nginx configuration hot update system based on DPDK technology in the present invention.

[0042] Such as figure 2 As shown, the first aspect of the...

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 present invention proposes a kind of Nginx configuration thermal update system and method based on DPDK technology, described system comprises: user mode, kernel mode and underlying hardware module; User mode comprises Nginx application layer, user mode protocol stack, DPDK driver layer; When When described system receives the modification instruction of user to Nginx original configuration file, will generate Nginx update configuration file, and produce corresponding Nginx configuration file update instruction; Receive described Nginx configuration file update instruction by the main process of user mode, and its Notify all work processes managed by the main process; each work process rereads the Nginx update configuration file and the Nginx original configuration file according to the Nginx configuration file update command; each work process compares the Nginx update configuration file with the Nginx original configuration file, and determines the difference information; the Nginx application layer closes the invalid listening port according to the difference information, and / or opens the newly added listening port. The invention can provide high-performance web service and reverse proxy service.

Description

technical field [0001] The invention relates to the technical field of DPDK, in particular to a DPDK-based Nginx configuration hot update system and method. Background technique [0002] The full name of DPDK is Date plane development kit, which is a software library used to accelerate packet data processing. DPDK uses polling instead of interrupts to process packets. When receiving a data packet, the network card driver overloaded by DPDK will not notify the CPU through an interrupt, but directly store the data packet into the memory, and deliver the application layer software to directly process through the interface provided by DPDK, which saves a lot of CPU Interrupt time and memory copy time. [0003] Nginx is a high-performance HTTP and reverse proxy web server. Nginx has the advantages of less memory and strong concurrency. In fact, the concurrency of Nginx is better than other web servers of the same type, and it has been widely used in the websites of Internet co...

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/445
CPCG06F9/4451
Inventor 侯田冀博李昭熹马骥孙晓鹏彭金辉廖正赟
Owner ZHENGZHOU XINDA JIEAN INFORMATION TECH