钟良侃



摘要:对现有信息系统进行云化的一种可行的方法就是使用SOA架构将现有系统转变为Web服务系统。通过分析基于虚拟机部署的Web服务系统局限性,探讨Docker虚拟化技术对Web服务系统设计、开发及运维的影响。利用Docker技术的应用组件级虚拟化特性,将Web服务组件封装为Docker镜像,从而实现Web服务组件在Docker容器中的自动化部署和统一管理。根据实验可以给出一种基于Docker技术的Web服务系统设计和实现方案,让Web服务系统在未来云平台部署和运维更加快捷方便。
关键词:SOA;Docker;虚拟化;云平台
中图分类号:TP311 文献标识码:A 文章编号:1009-3044(2016)26-0123-04
Study on the Application of Docker Technology in Web Service System
ZHONG Liang-kan
(Academic Affair Office, Shanghai Open University, Shanghai 200000, China)
Abstract: A feasible way to deploy existing information system on the cloud platform is to reconstruct it into web service system based on SOA architecture. This article analyzed the limitations of the web service system which is deployed on visual machine, and studied the influences of using Docker virtualization technology in web service system development and implementation. Due to the Docker feature in Application components level virtualization, web service components can be packaged into specified Docker images. This paper provided a new method on design and implementation of web service system based on Docker technology. Web service components can be automated deployment and unified management by this method. Experiment results show that the method is feasible, and web service system can be run and deployed easier and quicker on cloud platform by using Docker technology in the future.
Key words: SOA; Docker; Virtualization; Cloud Platform
1 背景
随着云计算的提出,越来越多的企事业单位开始接受云计算按需服务的理念,这使一些软件行业的跨国公司看到了商机。以亚马逊、谷歌、微软和IBM为首的云计算巨头,正在不断推进云计算相关业务的开展,其所带来服务营收的快速增长正在使云计算服务成为这些跨国公司的主营业务之一,据Gartner 估计,2016年全球云应用服务(SaaS)市场的收入预计增长20.3%,达到377 亿美元[1]。随着云计算商业模式的日渐成熟,越来越多的企业和政府部门都开始考虑将内部使用的软件应用迁移到云端,从而降低IT运维的成本。这些变化都将改变传统信息系统的建设及部署方式,使原来存在于各企事业单位中定制化的信息系统逐步向面向服务架构以及云部署的方向转变。
云计算的实现离不开虚拟化技术的支撑以及面向服务架构的广泛应用。虚拟化技术将计算机物理硬件资源进行重新整合和抽象,并形成可被动态调用的资源,降低了信息系统对于物理硬件的依赖,而面向服务架构使信息系统从单一业务转变成可以通过网络访问的一组互相连接的服务模块[2]。……