A High Performance Web Server Based on Asynchronous and Zero-Copy

Article Preview

Abstract:

With the development of computer technology, the performance of hardware is no longer the primary problem that influences the performance of the web server. Just improving the hardware processing speed of the web server is invalid in practical applications, so the performance of the web server should be improved in the software layer. The improving methods focus on the followings: In the aspect of the network IO, the EPOLL structure is used. The EPOLL structure can not only deal with mass network connections, but also have a better performance for processing network data. Those improvements all enhance the throughput of the system effectively. In the aspect of the hard disk IO, the asynchronous IO is used to replace the synchronous blocking IO, so the hard disk IO and other requisitions can be processed simultaneously. Besides, the hard disk IO requisitions are processed by kernel instead of application layer, so the number of concurrent request and the usage effectiveness of CPU can be improved at the same time. This means the processing capacity of the web server can be improved consequently. At last, aiming at moving data effectively from file to the network interface, the zero-copy technology is used to optimize especially. This helps the improvement of the web servers business processing capacity a lot. Above methods are used to put forward a high performance web server model which is based on the asynchronous IO and the zero-copy technology. The web server model is realized at the foundation of the analysis of several traditional web server models. Those lay the groundwork for the further study of a high performance web server model which is more practical and has more abundant functions.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

3118-3121

Citation:

Online since:

March 2014

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] Y.C. Lei, G.J. Li. High Performance Web Server[C]. 7th United Computer Conference Proceeding. Shantou: China Computer Association. 2001: pp.651-656.

Google Scholar

[2] Y.R. Hong. Research and Implementation on High Performance Web Server [D]. Shanghai: Shanghai Jiao Tong University. (2001).

Google Scholar

[3] Y.C. Lei, G.J. Li. A High Performance Web Server Based On the ASPED Model [J]. Computer Research and Development. 2001, vol. 38, pp.769-777.

Google Scholar

[4] L.L. Wen. Web Server Technology Research Based On Zero-copy [D]. Qingdao: Ocean University of China. (2011).

Google Scholar

[5] Y.C. Lei. Research on Scalable High Performance Web Server System [D]. Beijing: Institute of Computing Technology Chinese Academy of Sciences. (2002).

Google Scholar

[6] CSDN: http: /blog. csdn. net/amaowolf/article/details/7418792.

Google Scholar

[7] IBM Developer Works China: http: /www. ibm. com/developerworks/cn/linux/l-async.

Google Scholar

[8] Eventfd-aio-test: http: /www. xmailserver. org/eventfd-aio-test. c.

Google Scholar