Analysis of the impact of using containerization techniques on application performance in Python

Kacper Chołody

kacper.cholody@pollub.edu.pl
Lublin University of Technology (Poland)

Sławomir Przyłucki


Lublin University of Technology (Poland)

Abstract

This article comprehensively evaluates the impact of two containerization environments, Docker and Podman, on the performance of Python applications. The paper characterizes the two tools and presents the differences in their architectures. The scope of the study covers three aspects. The first is a comparison of resource usage, such as CPU usage, RAM usage and execution time, during the calculation of the number π. The next step is to analyse the resource usage when sorting an ordered list. The final aspect of the research is a comparison of the start-up time of the container in both environments. The tests carried out allow the presence of a performance overhead in both containerization environments, with an average of 8%. In addition, it can be seen that there is better resource management in the case of the Podman tool and a more dynamic environment in the case of the Docker tool.


Keywords:

containerization, performance comparison, Docker, Podman

S.Shah, N. Khandhar, Docker - The Future of Virtualization, International Journal of Research and Analytical Reviews (IJRAR) 6(2) (2019) 164 - 167.
  Google Scholar

D.Walsh, Podman in Action, Manning Publications, (2023), ISBN: 9781633439689.
  Google Scholar

M. Kjellstedt, Performance Evaluation of deploying microservices using Docker and Podman, thesis, Umeå University, (2020) 13 – 16.
  Google Scholar

S. Giallorenzo, J. Mauro, M. G. Poulsen, F. Siroky, Virtualization Costs: Benchmarking Containers and Virtual Machines Against Bare‑Metal, SN Computer Science 2(404) (2021) 11 – 15, https://doi.org/10.1007/s42979-021-00781-8.
DOI: https://doi.org/10.1007/s42979-021-00781-8   Google Scholar

A. Subil, On the Use of Containers in High Performance Computing, 2020 IEEE 13th International Conference on Cloud Computing (CLOUD), (2020) 284 - 293, https://doi.org/10.1109/CLOUD49709.2020.00048.
DOI: https://doi.org/10.1109/CLOUD49709.2020.00048   Google Scholar

E. Casalicchio, V. Percibali, Measuring Docker Performance: What a mess!!!, Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering Companion, (2017) 11 – 16, https://doi.org/10.1145/3053600.3053605.
DOI: https://doi.org/10.1145/3053600.3053605   Google Scholar

M. A. Potdar, G. D. Narayan, S. Kengond, M. M. Mulla, Performance Evaluation of Docker Container and Virtual Machine, Third International Conference on Computing and Network Communications (CoCoNet’19), (2019) 1419 – 1428, https://doi.org/10.1016/j.procs.2020.04.152.
DOI: https://doi.org/10.1016/j.procs.2020.04.152   Google Scholar

R. R. Yadav, G. T. E. Sousa, A. R. G. Callou, Performance Comparison Between Virtual Machines And Docker Containers, IEEE Latin America Transactions 16(8) (2018) 2282 – 2288, https://doi.org/10.1109/TLA.2018.8528247.
DOI: https://doi.org/10.1109/TLA.2018.8528247   Google Scholar

C. MinSu, L. HwaMin, L. Kiyeol, A performance comparison of linux containers and virtual machines using Docker and KVM, Cluster Computing 22(1) (2019) 1765 – 1775, https://doi.org/10.1007/s10586-017-1511-2.
DOI: https://doi.org/10.1007/s10586-017-1511-2   Google Scholar

B. B. Rad, J. H. Bhatti, M. Ahmadi, An Introduction to Docker and Analysis of its Performance, International Journal of Computer Science and Network Security (IJCSNS) 17(3) (2017) 228 – 234.
  Google Scholar

Formuła Leibniza do obliczeń liczby π, https://en.wikipedia.org/wiki/Leibniz_formula_for_%CF%80, [06.09.2023].
  Google Scholar

Sorting HOW TO - Python Documentation, https://docs.python.org/3/howto/sorting.html, [06.09.2023]
  Google Scholar

Download


Published
2023-12-29

Cited by

Chołody, K., & Przyłucki, S. (2023). Analysis of the impact of using containerization techniques on application performance in Python. Journal of Computer Sciences Institute, 29, 413–420. https://doi.org/10.35784/jcsi.4589

Authors

Kacper Chołody 
kacper.cholody@pollub.edu.pl
Lublin University of Technology Poland

Authors

Sławomir Przyłucki 

Lublin University of Technology Poland

Statistics

Abstract views: 136
PDF downloads: 193