Font Size: a A A

Theoretical Research And Performance Improvement Of High Performance Web Server Based On Nginx

Posted on:2020-09-25Degree:MasterType:Thesis
Country:ChinaCandidate:W DaiFull Text:PDF
GTID:2428330590995795Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
After the advent of the Web2.0 era,on the one hand,the Internet penetration rate has greatly increased,and the user base has grown exponentially;on the other hand,resources on the Internet are no longer simple forms of static web pages,instant messaging,online real-time interaction,etc.,making applications The data interaction of the program becomes more complicated,which puts new demands on the performance of the web server.Today's large network companies and popular portals often need to deal with hundreds of thousands of concurrent requests.For this reason,traditional Web servers consume a lot of CPU resources and memory,causing user response delays and even server crashes.As the most powerful lightweight web server,Nginx uses the event-driven architecture to process requests without blocking based on the new server development model.It has excellent performance and far more efficiency than traditional Apache and Tomcat.It is widely used in many top Internet companies at home and abroad.Therefore,it is of great significance to study the operating mechanism and functional framework of Nginx and to develop and optimize it.Based on the Nginx source code,this paper studies the internal architecture and implementation principles of Nginx's module system,framework structure,event-driven,etc.,and deeply understands the operating mechanism of Nginx,and explores the principle of Nginx's efficient processing of large concurrent requests from the underlying implementation.On this basis,the new features and programming paradigm of the C++ language are fully utilized to encapsulate and extend the source code of Nginx,which greatly improves the stability and ease of use of Nginx.This article uses the encapsulated Nginx to develop the HTTP module,embedded in the entire workflow of Nginx,to achieve more convenient personalized customization and development,with optimization of configuration files and system parameters,so that Nginx can be further developed in C++ power.
Keywords/Search Tags:Web server, Nginx, module development, lightweight
PDF Full Text Request
Related items