HDID: An Efficient Hybrid Docker Image Distribution System for Datacenters

Docker, a container-based virtualization technology, is widely used in datacenters. To increase the speed of booting containers, the storage and the distribution of Docker images have received much research effort. There are also some efforts which use Peer-to-Peer file downloading method to speed-up Docker image distribution. However, these systems just package image as a file for sharing without considering the layering structure of the Docker image. To increase the booting speed of Docker image, in this work, we propose an efficient Hybrid Docker Image Distribution System for Datacenters (HDID). First, to gain insight into the layer structure of Docker images, we investigate the size distribution of the top 29 popular Docker image layers. Second, based on the study of the size distribution, we introduce a hybrid distribution method which adaptively uses both the BitTorrent protocol, a P2P file downloading technique, and the original Registry downloading technique to boost the image transferring procedure. Third, as the BitTorrent protocol is designed for the Internet instead of datacenter networks, to further reduce the booting time, we develop file-downloading strategy, which optimizes BitTorrent for Docker images in datacenter networks. Finally, through extensive experiments, we show that the proposed method can reduce the image distribution time of Docker by about 90% compared to the default Docker image distribution method.

[1]  Dirk Merkel,et al.  Docker: lightweight Linux containers for consistent development and deployment , 2014 .

[2]  Rahma Chaabouni,et al.  Smart Cloud Seeding for BitTorrent in Datacenters , 2014, IEEE Internet Computing.

[3]  Michael I. Jordan,et al.  Managing data transfers in computer clusters with orchestra , 2011, SIGCOMM 2011.

[4]  Zhe Zhang,et al.  VDN: Virtual machine image distribution network for cloud data centers , 2012, 2012 Proceedings IEEE INFOCOM.

[5]  Alexandru Iosup,et al.  Area of Simulation: Mechanism and Architecture for Multi-Avatar Virtual Environments , 2015, TOMM.

[6]  Dharmesh Kakadia,et al.  Virtualization vs Containerization to Support PaaS , 2014, 2014 IEEE International Conference on Cloud Engineering.

[7]  David Hales,et al.  Improving Efficiency and Fairness in P2P Systems with Effort-Based Incentives , 2010, 2010 IEEE International Conference on Communications.

[8]  John C.-I. Chuang,et al.  Service differentiated peer selection: an incentive mechanism for peer-to-peer media streaming , 2006, IEEE Transactions on Multimedia.

[9]  Rahma Chaabouni,et al.  Reducing costs in the personal cloud: Is bittorrent a better bet? , 2014, 14-th IEEE International Conference on Peer-to-Peer Computing.

[10]  Oh-Young Kwon,et al.  Performance Comparison Analysis of Linux Container and Virtual Machine for Building Cloud , 2014 .

[11]  Yi Liang,et al.  On P2P mechanisms for VM image distribution in cloud data centers: Modeling, analysis and improvement , 2012, 4th IEEE International Conference on Cloud Computing Technology and Science Proceedings.

[12]  Carl Boettiger,et al.  An introduction to Docker for reproducible research , 2014, OPSR.

[13]  B. Cohen,et al.  Incentives Build Robustness in Bit-Torrent , 2003 .