arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.01842cs.DCcs.PF
收藏

大数据环境下容器和虚拟机的比较研究

A Comparative Study of Containers and Virtual Machines in Big Data Environment

Qi Zhang, Ling Liu, Calton Pu, Qiwei Dou, Liren Wu, Wei Zhou

摘要:

容器技术近年来受到越来越多的关注,并已成为传统虚拟机的替代方案。企业采用容器技术的一些主要动机包括其封装和部署应用程序的便利性,轻量级操作以及资源共享的效率和灵活性。然而,对于大数据应用程序(如Spark作业)如何在容器环境和虚拟机环境之间执行,仍然缺乏深入和系统的比较研究。在本文中,通过运行具有不同配置的各种Spark应用程序,我们从许多有趣的方面评估了这两种环境,例如执行环境的设置有多方便,每个设置中运行的不同工作负载的最大完工时间是多少,硬件资源(如CPU和内存)的利用效率如何,以及每个环境的可扩展性如何。结果表明,与虚拟机相比,容器为大数据工作负载提供了更易于部署和可扩展的环境。本文的研究工作可以帮助实践者和研究人员在调整云环境和配置大数据应用程序时做出更明智的决策,从而实现更好的性能和更高的资源利用率。

英文摘要:

Container technique is gaining increasing attention in recent years and has become an alternative to traditional virtual machines. Some of the primary motivations for the enterprise to adopt the container technology include its convenience to encapsulate and deploy applications, lightweight operations, as well as efficiency and flexibility in resources sharing. However, there still lacks an in-depth and systematic comparison study on how big data applications, such as Spark jobs, perform between a container environment and a virtual machine environment. In this paper, by running various Spark applications with different configurations, we evaluate the two environments from many interesting aspects, such as how convenient the execution environment can be set up, what are makespans of different workloads running in each setup, how efficient the hardware resources, such as CPU and memory, are utilized, and how well each environment can scale. The results show that compared with virtual machines, containers provide a more easy-to-deploy and scalable environment for big data workloads. The research work in this paper can help practitioners and researchers to make more informed decisions on tuning their cloud environment and configuring the big data applications, so as to achieve better performance and higher resources utilization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑