Rapid Development of Web Server Based on Docker Container
CSTR:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    The C/S mode is an early architecture for developing Web servers, which is complex, costly, and lacking in generality. The B/S mode makes up for the disadvantages of complex use and high cost by concentrating system functions in the server, but it does not conduct in-depth testing and research on the environment and data transmission rate of the user end, which brings too many external visits to the Web page and puts pressure on the server. Given the limitations of the traditional C/S mode and B/S mode, this study introduces the idea of Docker container development and integrates it with Nginx and Flask methods respectively to construct the DoNginx mode and the DoFlask mode, which develop the Web server by modifying and establishing mirror images. The two modes combine the advantages of Docker’s lightweight, Nginx’s low consumption, and Flask’s stability to realize mode optimization. The CPU, integrity, and throughput performance tests are designed to make a comprehensive comparison with traditional B/S mode. Experiments show that the DoNginx mode has a high resource utilization rate, and the DoFlask mode has stronger environmental compatibility and reliability. Both modes are superior to the traditional B/S mode in the above aspects, boasting great contributions to the framework design and good experimental performance.

    Reference
    Related
    Cited by
Get Citation

谢兆贤,曹香美,王超.基于Docker容器的快速开发网页服务器.计算机系统应用,2022,31(4):99-109

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:June 22,2021
  • Revised:July 14,2021
  • Adopted:
  • Online: March 22,2022
  • Published:
Article QR Code
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063