Font Size: a A A

Research And Implementation Of An HTTP Front End Replacement Scheme

Posted on:2013-12-24Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2208330434470260Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Currently, HTTP (Hypertext Transfer Protocol) is extremely popular on the Internet. Many servers are running HTTP, most of which are behind reverse proxy servers. A move aimed at adding increasing features to reverse proxy servers has been all the rage these days. Reverse proxy servers used to be written with system languages such as C or C++for performance reasons. With more and more functions inserted, the difficulty lying in maintaining the new added modules or plug-ins surges. The more features it has, the more a reverse proxy becomes an application. As it is known to all, C or C++is not designed to solve the problem of applications. PHP,.Net or Java does better in such domains.According to this characteristic, in the paper an HTTP route forward system written with Node. js is designed to replace HTTP servers in existence. Compare the performance, I/O model and concurrent programming model through experiments by using Nginx, Java Netty, Erlang Cowboy and Node. js as the tool and framework. This paper first presents the concept that sometimes a pause may happen before a HTTP request is forwarded. In contrast, the request of immediate forward is sent to the content HTTP server without a break. The performance of the system written with Node. js is outstanding. Node, js is an event-driven, non-blocking I/O model programming platform built on JavaScript. The authentication, requests forward and log stream modules of the system is developed with Node. js. Its Web UI is written in Ruby on Rails.The performance is able to match Nginx, one of the most popular and high-performance HTTP servers. In the condition that a forward is after a break, the system outperforms Nginx.
Keywords/Search Tags:HTTP route, forward, Node.js, Event-driven programming
PDF Full Text Request
Related items