The Design and Implemention of HTTP Server Based on Netty
WANG Ruiqi
1
王睿奇(1990-),男,硕士研究生,主要研究方向:计算机应用
ZHAN Shubo
1
詹舒波(1965-),男,教授,主要研究方向:电信增值系统、基于智能网及其相关技术在电信网络的应用研究与开发
1、Institute of Network Technology, Beijing University of Posts and Telecommunications, Beijing 100876
Abstract:HTTP protocol is a very popular application protocol currently, not just for the transmission of HTML, many applications use the HTTP protocol for service communication. Unlike the complex full-featured web server such as tomcat and jetty, a lighter Http server provided in this paper. Netty is an asynchronous, event-driven network application framework for rapid development of high performance and reliability network server and client programs.The server bases on netty achieving a lightweight reusable Http server. Firstly, making a basic introduction. Secondly, the paper designes and implementes a reusable http server, able to parse http request and response, as well as the flexibility to be used by other applications. Finally, the server does good in terms of performance.