Abstract
Over the past few years containers have become a very popular solution for virtualization purposes. They have all major advantages of virtual machines and, additionally, reduced hardware and time requirements and built-in support for detecting faults in containers and recreating the ones which are not working. Docker is an open platform which enables running applications in a loosely connected environment called a container. A Docker Swarm framework may be used on a Docker platform to cluster and schedule containers. The time needed for detecting and recreating failed containers was tested in this paper. The time needed to recreate a given container depends on the size of the container and the reason of its failure. Docker Swarm needs from 8 to 31 s to recreate a failed container, however, for some purposes, e.g. e-commerce systems, it is too long. In such systems the administrators attempt to minimize the time of website unavailability. To mitigate this problem, we propose the architecture of a lightweight system for fast monitoring of containers and scheduling their recreation. The prototype based on the proposed architecture is insensitive to a container image size, and recreation times depend only on the reason of a container failure. The recreation times range from 3 to 10 s. If we omit the time needed to create containers, which depends solely on internal Docker Engine implementation, our solution detects a container failure and schedules the recreation of a container instance almost instantaneously. This paper presents a part of the holistic solution of fast and lightweight container creation, monitoring and responding to failures.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Docker Overview. https://docs.docker.com/engine/docker-overview/. Accessed 5 Jan 2019
What is a Container. https://www.docker.com/resources/what-container. Accessed 6 Jan 2019
Swarm Mode Key Concepts. https://docs.docker.com/engine/swarm/key-concepts/. Accessed 6 Jan 2019
Create a Swarm Manager. https://docs.docker.com/swarm/reference/manage/#options. Accessed 6 Jan 2019
Piraghaj, S.F., Dastjerdi, A.V., Calheiros, R.N., Buyya, R.: Efficient virtual machine sizing for hosting containers as a service (SERVICES 2015). In: 2015 IEEE World Congress on Services, pp. 31–38. IEEE, New York City (2015)
Huang, C.-H., Lee, C.-R.: Enhancing the availability of Docker Swarm using checkpoint-and-restore. In: 2017 14th International Symposium on Pervasive Systems, Algorithms and Networks & 2017 11th International Conference on Frontier of Computer Science and Technology & 2017 Third International Symposium of Creative Computing (ISPAN-FCST-ISCC), pp. 357–362. IEEE, Exeter (2017)
Amaral, M., Polo, J., Carrera, D., et al.: Performance evaluation of microservices architectures using containers. In: 2015 IEEE 14th International Symposium on Net-work Computing and Applications, pp. 27–34. IEEE, Cambridge (2015)
Przyłucki, S., Czerwiński, D., Sierszeń, A.: A performance evaluation of Docker-based MQTT server implementation on internet of things device. Stud. Inform. 38, 89–99 (2017)
Paraiso, F., Challita, S., Al-Dhuraibi, Y., Merle, P.: Model-driven management of Docker containers. In: 2016 IEEE 9th International Conference on Cloud Computing (CLOUD), pp. 718–725. IEEE, San Francisco (2016)
Merino Aguilera, X., Otero, C., Ridley, M., Elliott, D.: Managed containers: a framework for resilient containerized mission critical systems. In: 2018 IEEE 11th International Conference on Cloud Computing (CLOUD), pp. 946–949. IEEE, San Francisco (2018)
Vohra, D.: Docker Management Design Patterns. Apress, Berkeley (2017)
Nah, F.: A study on tolerable waiting time: how long are Web users willing to wait? Behav. Inf. Technol. 23, 153–163 (2004)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Pawlik, R., Werewka, J. (2019). Recreation of Containers for High Availability Architecture and Container-Based Applications. In: Gaj, P., Sawicki, M., Kwiecień, A. (eds) Computer Networks. CN 2019. Communications in Computer and Information Science, vol 1039. Springer, Cham. https://doi.org/10.1007/978-3-030-21952-9_22
Download citation
DOI: https://doi.org/10.1007/978-3-030-21952-9_22
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-21951-2
Online ISBN: 978-3-030-21952-9
eBook Packages: Computer ScienceComputer Science (R0)