skip to main content
10.1145/3132211.3134460acmconferencesArticle/Chapter ViewAbstractPublication PagessecConference Proceedingsconference-collections
research-article

Efficient service handoff across edge servers via docker container migration

Published:12 October 2017Publication History

ABSTRACT

Supporting smooth movement of mobile clients is important when offloading services on an edge computing platform. Interruption-free client mobility demands seamless migration of the offloading service to nearby edge servers. However, fast migration of offloading services across edge servers in a WAN environment poses significant challenges to the handoff service design. In this paper, we present a novel service handoff system which seamlessly migrates offloading services to the nearest edge server, while the mobile client is moving. Service handoff is achieved via container migration. We identify an important performance problem during Docker container migration. Based on our systematic study of container layer management and image stacking, we propose a migration method which leverages the layered storage system to reduce file system synchronization overhead, without dependence on the distributed file system. We implement a prototype system and conduct experiments using real world product applications. Evaluation results reveal that compared to state-of-the-art service handoff systems designed for edge computing platforms, our system reduces the total duration of service handoff time by 80%(56%) with network bandwidth 5Mbps(20Mbps).

References

  1. Brandon Amos, Bartosz Ludwiczuk, and Mahadev Satyanarayanan. 2016. Open-Face: A general-purpose face recognition library with mobile applications. Technical Report. CMU-CS-16-118, CMU School of Computer Science.Google ScholarGoogle Scholar
  2. Ross Boucher. 2017. Live migration using CRIU. (2017). Retrieved Apr 22, 2017 from https://github.com/boucher/p.haulGoogle ScholarGoogle Scholar
  3. Martin A. Brown. 2017. Traffic Control HOWTO. (2017). Retrieved Apr 22, 2017 from http://www.tldp.org/HOWTO/Traffic-Control-HOWTO/Google ScholarGoogle Scholar
  4. Eric Chiang. 2017. Containers from Scratch. Online, https://ericchiang.github.io/post/containers-from-scratch/ (2017).Google ScholarGoogle Scholar
  5. Mung Chiang and Tao Zhang. 2016. Fog and IoT: An overview of research opportunities. IEEE Internet of Things Journal 3, 6 (2016), 854--864. Google ScholarGoogle ScholarCross RefCross Ref
  6. Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, and Andrew Warfield. 2005. Live migration of virtual machines. In Proceedings of the 2nd Conference on Symposium on Networked Systems Design & Implementation-Volume 2. USENIX Association, 273--286.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. CoreOS. 2017. A security-minded, standards-based container engine. (2017). Retrieved Apr 22, 2017 from https://coreos.com/rktGoogle ScholarGoogle Scholar
  8. CRIU. 2017. CRIU. (2017). Retrieved Apr 22, 2017 from https://criu.org/Main_PageGoogle ScholarGoogle Scholar
  9. Eduardo Cuervo, Aruna Balasubramanian, Dae-ki Cho, Alec Wolman, Stefan Saroiu, Ranveer Chandra, and Paramvir Bahl. 2010. MAUI: Making Smartphones Last Longer with Code Offload. In Proceedings of the 8th International Conference on Mobile Systems, Applications, and Services (MobiSys '10). ACM, New York, NY, USA, 49--62. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Pavel Emelyanov. 2017. Live migration using CRIU. (2017). Retrieved Apr 22, 2017 from https://github.com/xemul/p.haulGoogle ScholarGoogle Scholar
  11. Linux Foundation. 2017. runC. (2017). Retrieved Apr 22, 2017 from https://runc.io/Google ScholarGoogle Scholar
  12. Kiryong Ha, Yoshihisa Abe, Zhuo Chen, Wenlu Hu, Brandon Amos, Padmanabhan Pillai, and Mahadev Satyanarayanan. 2015. Adaptive vm handoff across cloudlets. Technical Report. Technical Report CMU-CS-15-113, CMU School of Computer Science.Google ScholarGoogle Scholar
  13. Kiryong Ha, Zhuo Chen, Wenlu Hu, Wolfgang Richter, Padmanabhan Pillai, and Mahadev Satyanarayanan. 2014. Towards wearable cognitive assistance. In Proceedings of the 12th annual international conference on Mobile systems, applications, and services. ACM, 68--81. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Zijiang Hao and Qun Li. 2016. Edgestore: Integrating edge computing into cloud-based storage systems. In Edge Computing (SEC), IEEE/ACM Symposium on. IEEE, 115--116.Google ScholarGoogle Scholar
  15. Zijiang Hao, Ed Novak, Shanhe Yi, and Qun Li. 2017. Challenges and Software Architecture for Fog Computing. IEEE Internet Computing 21, 2 (2017), 44--53. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Yun Chao Hu, Milan Patel, Dario Sabella, Nurit Sprecher, and Valerie Young. 2015. Mobile edge computing - A key technology towards 5G. ETSI White Paper 11 (2015).Google ScholarGoogle Scholar
  17. Docker Inc. 2017. Docker Hub. (2017). Retrieved Apr 22, 2017 from https://hub.docker.com/Google ScholarGoogle Scholar
  18. Docker Inc. 2017. Docker Images and Containers. (2017). Retrieved Apr 22, 2017 from https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/#images-and-layersGoogle ScholarGoogle Scholar
  19. Docker Inc. 2017. What is Docker? (2017). Retrieved Apr 22, 2017 from https://www.docker.com/what-dockerGoogle ScholarGoogle Scholar
  20. Nicholas D Lane, Sourav Bhattacharya, Petko Georgiev, Claudio Forlivesi, Lei Jiao, Lorena Qendro, and Fahim Kawsar. 2016. Deepx: A software accelerator for low-power deep learning inference on mobile devices. In Information Processing in Sensor Networks (IPSN), 2016 15th ACM/IEEE International Conference on. IEEE, 1--12.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Daniel Lezcano. 2017. LXC - Linux Containers. (2017). Retrieved Apr 22, 2017 from https://github.com/lxc/lxcGoogle ScholarGoogle Scholar
  22. Peng Liu, Dale Willis, and Suman Banerjee. 2016. ParaDrop: Enabling Lightweight Multi-tenancy at the NetworkâĂŹs Extreme Edge. In Edge Computing (SEC), IEEE/ACM Symposium on. IEEE, 1--13.Google ScholarGoogle Scholar
  23. JR Okajima. 2017. Aufs. (2017). Retrieved Apr 22, 2017 from http://aufs.sourceforge.net/aufs3/man.htmlGoogle ScholarGoogle Scholar
  24. OpenVZ. 2017. OpenVZ Virtuozzo Containers Wiki. (2017). Retrieved Apr 22, 2017 from https://openvz.org/Main_PageGoogle ScholarGoogle Scholar
  25. OpenVZ. 2017. Virtuozzo Storage. (2017). Retrieved Apr 22, 2017 from https://openvz.org/Virtuozzo_StorageGoogle ScholarGoogle Scholar
  26. Milan Patel, B Naughton, C Chan, N Sprecher, S Abeta, A Neal, and others. 2014. Mobile-edge computing introductory technical white paper. White Paper, Mobile-edge Computing (MEC) industry initiative (2014).Google ScholarGoogle Scholar
  27. Rob Pike, Dave Presotto, Ken Thompson, Howard Trickey, and Phil Winterbottom. 1992. The use of name spaces in Plan 9. In Proceedings of the 5th workshop on ACM SIGOPS European workshop: Models and paradigms for distributed systems structuring. ACM, 1--5.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Yuqing Qiu. 2016. Evaluating and Improving LXC Container Migration between Cloudlets Using Multipath TCP. Ph.D. Dissertation. Carleton University Ottawa.Google ScholarGoogle Scholar
  29. Akamai Releases Second Quarter. 2014. State of the Internet Report. Akamai: http://www.akamai.com/html/about/press/releases/2014/press-093014.html. Accessed 2 (2014).Google ScholarGoogle Scholar
  30. Rami Rosen. 2013. Resource management: Linux kernel namespaces and cgroups. Haifux, May 186 (2013).Google ScholarGoogle Scholar
  31. Rami Rosen. 2014. Linux containers and the future cloud. Linux J 2014, 240 (2014).Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. Mahadev Satyanarayanan. 2017. The Emergence of Edge Computing. Computer 50, 1 (2017), 30--39. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Mahadev Satyanarayanan, Paramvir Bahl, Ramón Caceres, and Nigel Davies. 2009. The case for vm-based cloudlets in mobile computing. IEEE pervasive Computing 8, 4 (2009). Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Weisong Shi, Jie Cao, Quan Zhang, Youhuizi Li, and Lanyu Xu. 2016. Edge computing: Vision and challenges. IEEE Internet of Things Journal 3, 5 (2016), 637--646. Google ScholarGoogle ScholarCross RefCross Ref
  35. Andrew Vagin. 2017. FOSDEM 2015 - Live migration for containers is around the corner. Online, https://archive.fosdem.org/2015/schedule/event/livemigration/ (2017).Google ScholarGoogle Scholar
  36. Shanhe Yi, Zijiang Hao, Zhengrui Qin, and Qun Li. 2015. Fog computing: Platform and applications. In Hot Topics in Web Systems and Technologies (HotWeb), 2015 Third IEEE Workshop on. IEEE, 73--78.Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. Shanhe Yi, Cheng Li, and Qun Li. 2015. A survey of fog computing: concepts, applications and issues. In Proceedings of the 2015 Workshop on Mobile Big Data. ACM, 37--42. Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Shanhe Yi, Zhengrui Qin, and Qun Li. 2015. Security and privacy issues of fog computing: A survey. In International Conference on Wireless Algorithms, Systems, and Applications. Springer, 685--695. Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Efficient service handoff across edge servers via docker container migration

                  Recommendations

                  Comments

                  Login options

                  Check if you have access through your login credentials or your institution to get full access on this article.

                  Sign in
                  • Published in

                    cover image ACM Conferences
                    SEC '17: Proceedings of the Second ACM/IEEE Symposium on Edge Computing
                    October 2017
                    365 pages
                    ISBN:9781450350877
                    DOI:10.1145/3132211

                    Copyright © 2017 ACM

                    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                    Publisher

                    Association for Computing Machinery

                    New York, NY, United States

                    Publication History

                    • Published: 12 October 2017

                    Permissions

                    Request permissions about this article.

                    Request Permissions

                    Check for updates

                    Qualifiers

                    • research-article

                    Acceptance Rates

                    SEC '17 Paper Acceptance Rate20of41submissions,49%Overall Acceptance Rate40of100submissions,40%

                    Upcoming Conference

                    SEC '24
                    The Nineth ACM/IEEE Symposium on Edge Computing
                    December 4 - 7, 2024
                    Rome , Italy

                  PDF Format

                  View or Download as a PDF file.

                  PDF

                  eReader

                  View online with eReader.

                  eReader