- 121
- 0
- 约1.29万字
- 约 3页
- 2019-04-12 发布于广西
- 举报
第 24 卷 第 8 期 电子设计工程 2016 年 4 月
Vol.24 No.8 Electronic Design Engineering Apr. 2016
基于Docker 容器的Web 集群设计与实现
刘 熙 1 , 胡志勇 2
(1. 武汉邮电科学研究院 湖北 武汉 430074 ; 2. 武汉虹信技术服务责任有限公司 湖北 武汉 430074 )
摘要 : 针对完全虚拟化技术不能快速部署 Web 集群及自适应动态扩容的问题 。 本文提出了一种基于 Docker 容器组
建 Web 集群 的 设 计方案 。 该 方案 主 要 采用 了 Docker 容 器引 擎 打 包 Web 应 用 环 境镜 像 生成应 用 容 器 ,并 利 用 Nginx
对业务流量进行负载均衡的方法 。 系统设计完成后 ,通过 Ruby On Rails 框架生成的 Web 应用打印容器 IP 地址的方
式验证集群是否正常工作 。 实验结果表明 ,通过 Docker 容器部署 Web 集群系统开销小 ,能有效的满足 Web 集群的部
署和扩容需求 。
关键词 : Docker 容器 ; 虚拟化 ; Web 集群 ; 负载均衡
中图分类号 : 文献标识码 : 文章编号 ( )
TN919.6 A : 1674-6236 2016 08-0117-03
Design and implementation of Web cluster based on Docker container
1 2
LIU Xi , HU Zhi-yong
(1. Wuhan Research Institute of Posts and Telecommunications , Wuhan 430074 , China ;
2. Wuhan Hong Xin Telecommunication Technologies Co. , Ltd. , Wuhan 430074 , China )
Abstract: For the full virtualization technology can not rapid deploy Web cluster and adaptive dynamic expansion problem
This paper presents a design scheme of Web cluster based on Docker container. This scheme mainly uses the Docker container
engine to pack the Web application environment image to generate the application container , and use Nginx to loading
balancing. After the completion of the system design , We use the Ruby on Rails framework to generated web applications to
原创力文档

文档评论(0)