Skip to main content

Recreation of Containers for High Availability Architecture and Container-Based Applications

  • Conference paper
Computer Networks (CN 2019)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1039))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Docker Overview. https://docs.docker.com/engine/docker-overview/. Accessed 5 Jan 2019

  2. What is a Container. https://www.docker.com/resources/what-container. Accessed 6 Jan 2019

  3. Swarm Mode Key Concepts. https://docs.docker.com/engine/swarm/key-concepts/. Accessed 6 Jan 2019

  4. Create a Swarm Manager. https://docs.docker.com/swarm/reference/manage/#options. Accessed 6 Jan 2019

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Vohra, D.: Docker Management Design Patterns. Apress, Berkeley (2017)

    Book  Google Scholar 

  12. Nah, F.: A study on tolerable waiting time: how long are Web users willing to wait? Behav. Inf. Technol. 23, 153–163 (2004)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jan Werewka .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics