Nowadays a huge number of data requests and millions of concurrent requests on the internet which puts challenges to the Web server. The traditional Apache Web server tops of all the Web server. But its consumption of memory and handware(CPU) resource increases rapidly,the new Web server Nginx occurs. Nginx is a type of light weighted Web server, and a server can handle ten thousands of request easily. Let alone its few system resource requirement, its stability, and its high ability to handle concurrent requirement. So it makes sense to study Nginx Web server.This paper focuses on HTTP filter module and Web acceleration technology. Firstly I analyze the principle of Web server framework, the design method of high performance Web server. Then stdudy the source code and the core technology of Nginx. On this basis, develop the HTTP and HTTP filter module. Finally do some optimization to Nginx system. The main contents include: Nginx server configuration optimization and Linux kernel parameter optimization. Using the test tool to perform pressure testing system after optimization, the system runs well and its ability to handle concurrency requirements higher than the native Nginx server. |