Slow software deployment is an important issue in environments such as fog computing where this operation lies in the critical path of providing online services to the end users. The problem is even worse when the virtualized resources are made of modest machines such as single-board computers. This paper leverages the observation that, although Docker images are often very large, only a small fraction of their content is actually accessed by the containers during startup. We therefore propose to reorganize container images and download only the strictly necessary files before starting a container. The remaining image contents can then be downloaded asynchronously while the container is already running. Our performance evaluations show that FogDocker reduces container deployment times in the order of 3-5x on single-board computers and 2-3x on powerful servers, while incurring low runtime overhead and maintaining correctness even in the case a container accesses a file which was not downloaded yet.

FogDocker: Start Container Now, Fetch Image Later / Civolani, Lorenzo; Pierre, Guillaume; Bellavista, Paolo. - ELETTRONICO. - (2019), pp. 51-59. (Intervento presentato al convegno UCC '19: IEEE/ACM 12th International Conference on Utility and Cloud Computing tenutosi a Auckland (New Zealand) nel Dicembre 2019) [10.1145/3344341.3368811].

FogDocker: Start Container Now, Fetch Image Later

Civolani, Lorenzo;Bellavista, Paolo
2019

Abstract

Slow software deployment is an important issue in environments such as fog computing where this operation lies in the critical path of providing online services to the end users. The problem is even worse when the virtualized resources are made of modest machines such as single-board computers. This paper leverages the observation that, although Docker images are often very large, only a small fraction of their content is actually accessed by the containers during startup. We therefore propose to reorganize container images and download only the strictly necessary files before starting a container. The remaining image contents can then be downloaded asynchronously while the container is already running. Our performance evaluations show that FogDocker reduces container deployment times in the order of 3-5x on single-board computers and 2-3x on powerful servers, while incurring low runtime overhead and maintaining correctness even in the case a container accesses a file which was not downloaded yet.
2019
UCC'19: Proceedings of the 12th IEEE/ACM International Conference on Utility and Cloud Computing
51
59
FogDocker: Start Container Now, Fetch Image Later / Civolani, Lorenzo; Pierre, Guillaume; Bellavista, Paolo. - ELETTRONICO. - (2019), pp. 51-59. (Intervento presentato al convegno UCC '19: IEEE/ACM 12th International Conference on Utility and Cloud Computing tenutosi a Auckland (New Zealand) nel Dicembre 2019) [10.1145/3344341.3368811].
Civolani, Lorenzo; Pierre, Guillaume; Bellavista, Paolo
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/716835
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 17
  • ???jsp.display-item.citation.isi??? ND
social impact