Font Size: a A A

Research And Implementation Of Lightweight High-concurrency Web Server Architecture

Posted on:2015-05-09Degree:MasterType:Thesis
Country:ChinaCandidate:X J YangFull Text:PDF
GTID:2298330467974641Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Most Web server application systems are bulky, and they consume more resources and haveinsufficient ability to resist the concurrency. For the real-time system, system implementation isreally complex and it is difficult to complement codes. Aiming at the above problems, a highconcurrency real-time Web application system is developed. Its stress tests had been done toverify the overall performance of the server.One of the specific applications of high concurrency real-time Web system is instantmessaging system, which is deployed on the IIS server and Nginx server. Nginx is a light Webserver that can always be used in popular websites. Furthermore, Nginx can be excellent reverseproxy and mail agent. The instance messaging system’s load balancing is implemented by thereverse proxy function of Nginx. In order to further understand the Nginx server, discusses thebasic concept and development process of Web servers, and studies the Nginx architecturetechnology. The real-time connection between the server and the browser is designed to useComet server push technology. WebSocket in terms of performance and lightweight have moreadvantages than Comet, but do not good at browser compatibility. If the website do not requiremuch in browser, it is better to use WebSocket, otherwise use Comet server push technology.Among many HTTP long connection scheme, WebSocket is relatively simple and efficient andconcerned, for its full duplex communication between browser and server. Fair use theWebSocket protocol can achieve real-time communication when better save server resources andbandwidth. The stress test results indicated that the system is running well and has the ability toresist the concurrency to meet the design requirements.Nginx server and WebSocket protocol were applied to the high concurrency real-time Websystem, this can solve the problems of bulky size, more resource consumption and lack of abilityto resist the concurrency, and it is easier to complement HTTP long connection. What’s more,this can effectively reduce the system complexity and improve overall system performance.
Keywords/Search Tags:Web server, Nginx, HTTP long connection, WebSocket
PDF Full Text Request
Related items