Optimization of Application Deployment Architecture in Container Orchestration

Authors

DOI:

https://doi.org/10.30871/jaic.v9i2.8972

Keywords:

Optimization, Cluster Architecture, Container Orchestration, Docker Swarm, Load Balancing

Abstract

Container orchestration has become a widely adopted standard for application deployment among medium to large-scale organizations. Docker Swarm is one of the popular container orchestration tools due to its relatively simple configuration. However, if the Docker Swarm cluster architecture is not properly designed, the goal of container orchestration, which is availability, cannot be achieved optimally. Challenges such as centralized traffic on a single node and service dependency on a single node are critical issues that need to be addressed. This study proposes solutions through an experimental approach involving the design, implementation, testing, and evaluation of a Docker Swarm cluster architecture to address these challenges. The results of this study demonstrate that the proposed architecture successfully resolves these issues. Traffic can be distributed more evenly across all nodes. When only one node is available, 5 out of 10 requests can be handled with a response latency of 197.4 ms. With two nodes available, the number of requests handled increases to 7 out of 10, with a response latency of 534.86 ms. The greater the number of available nodes, the more requests can be successfully processed. Services also become more flexible, and capable of running on any node, while offering additional benefits such as dual load balancing through DNS-based load balancing and the default load balancing provided by Docker Swarm's routing mesh. However, limitations such as the need for more complex adjustments and configurations should be considered, especially when implementing this architecture in on-premise environments, to ensure the best adoption and results.

Downloads

References

[1] RedHat, “Containers vs VMs.” Accessed: Nov. 14, 2024. [Online]. Available: https://www.redhat.com/en/topics/containers/containers-vs-vms

[2] Stack Overflow, “Technology | 2024 Stack Overflow Developer Survey.” Accessed: Oct. 07, 2024. [Online]. Available: https://survey.stackoverflow.co/2024/technology/

[3] A. M. Potdar, N. D G, S. Kengond, and M. M. Mulla, “Performance Evaluation of Docker Container and Virtual Machine,” Procedia Computer Science, vol. 171, pp. 1419–1428, 2020, doi: 10.1016/j.procs.2020.04.152.

[4] T.-T. Nguyen, Y.-J. Yeom, T. Kim, D.-H. Park, and S. Kim, “Horizontal Pod Autoscaling in Kubernetes for Elastic Container Orchestration,” Sensors, vol. 20, no. 16, p. 4621, 2020, doi: 10.3390/s20164621.

[5] IBM, “Apa yang dimaksud dengan orkestrasi kontainer.” Accessed: Nov. 14, 2024. [Online]. Available: https://www.ibm.com/id-id/topics/container-orchestration

[6] A. Pankowski and P. Powroźnik, “Comparison of application container orchestration platforms,” Journal of Computer Sciences Institute, vol. 29, pp. 383–390, Dec. 2023, doi: 10.35784/jcsi.3823.

[7] A. Farshteindiker and R. Puzis, “Leadership Hijacking in Docker Swarm and Its Consequences,” Entropy, vol. 23, no. 7, p. 919, 2021, doi: 10.3390/e23070914.

[8] L. Mercl and J. Pavlik, “The Comparison of Container Orchestrators,” in Third International Congress on Information and Communication Technology, X.-S. Yang, S. Sherratt, N. Dey, and A. Joshi, Eds., Singapore: Springer Singapore, 2019, pp. 677–685. doi: 10.1007/978-981-13-1165-9_62.

[9] M. R. Mei Bella, M. Data, and W. Yahya, “Implementasi Load Balancing Server Web Berbasis Docker Swarm Berdasarkan Penggunaan Sumber Daya Memory Host,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 3, no. 4, pp. 3478–3487, Jan. 2019.

[10] D. S. Afis, M. Data, and W. Yahya, “Load Balancing Server Web Berdasarkan Jumlah Koneksi Klien Pada Docker Swarm,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 3, no. 1, pp. 925–930, Jan. 2019.

[11] S. E. Prasetyo and A. Wijaya, “Analisis Load Balancing Menggunakan Docker Swarm,” CoMBInES, vol. 1, no. 1, pp. 527–538, 2021.

[12] A. Rivaldi, U. Darusalam, and D. Hidayatullah, “Perancangan Multi Node Web Server Menggunakan Docker Swarm dengan Metode Highavability,” Jurnal Media Informatika Budidarma, vol. 4, p. 529, Jul. 2020, doi: 10.30865/mib.v4i3.2147.

[13] D. M. Ferdiansyah and A. Prihanto, “Analisis Perbandingan Kinerja High Availability Pada Cluster Docker Swarm Dan K3S,” Journal of Informatics and Computer Science, vol. 06, no. 2, pp. 210–218, 2024.

[14] W. Aldiwidianto, G. Lanang, and E. Prismana, “Analisis Perbandingan High Availibility Pada Web Server Menggunakan Orchestration Tool Kubernetes Dan Docker Swarm,” Journal of Informatics and Computer Science, vol. 05, no. 2, pp. 138–148, 2023, doi: 10.26740/jinacs.v5n02.p138-148.

[15] R. D. Marcus, A. S. Ilmananda, L. Indana, and H. A. Aswari, “Optimalisasi Manajemen Jaringan pada Laboratorium Komputer Melalui Implementasi Remote Installation Services,” Jurnal MediaTIK, vol. 6, no. 3, pp. 79–85, 2023, doi: 10.26858/jmtik.v6i3.51964.

[16] J.-Y. Lee, M.-H. Kim, S. A. Raza Shah, S.-U. Ahn, H. Yoon, and S.-Y. Noh, “Performance Evaluations of Distributed File Systems for Scientific Big Data in FUSE Environment,” Electronics, vol. 10, no. 12, p. 1471, 2021, doi: 10.3390/electronics10121471.

[17] S. P. E.S.G.S, “Perbandingan Kinerja Clustered File System pada Cloud Storage menggunakan GlusterFS dan Ceph,” INOVTEK Polbeng - Seri Informatika, vol. 7, p. 319, Nov. 2022, doi: 10.35314/isi.v7i2.2753.

[18] P. Satya Saputra, P. Aditya Pratama, and L. Putu Ary Sri Tjahyanti, “Perancangan Dan Komparasi Web Server Nginx Dengan Web Server Apache Serta Pemanfaatan Reverse Proxy Server Pada Nginx,” Jurnal Komputer dan Teknologi Sains (KOMTEKS), vol. 2, no. 1, pp. 16–21, 2023.

[19] B. Magableh and M. Almiani, “A Self Healing Microservices Architecture: A Case Study in Docker Swarm Cluster,” in Advanced Information Networking and Applications, L. Barolli, M. Takizawa, F. Xhafa, and T. Enokido, Eds., Cham: Springer International Publishing, 2020, pp. 846–858. doi: 10.1007/978-3-030-15032-7_71.

[20] J. Ruohonen, “Measuring Basic Load-Balancing and Fail-Over Setups for Email Delivery via DNS MX Records,” in 2020 IFIP Networking Conference (Networking), Institute of Electrical and Electronics Engineers, 2020, pp. 815–820.

[21] K. Schomp, O. Bhardwaj, E. Kurdoglu, M. Muhaimen, and R. K. Sitaraman, “Akamai DNS: Providing Authoritative Answers to the World’s Queries,” in Proceedings of the Annual Conference of the ACM Special Interest Group on Data Communication on the Applications, Technologies, Architectures, and Protocols for Computer Communication, in SIGCOMM ’20. New York, NY, USA: Association for Computing Machinery, 2020, pp. 465–478. doi: 10.1145/3387514.3405881.

[22] Cloudflare, “Round-robin DNS.” Accessed: Nov. 14, 2024. [Online]. Available: https://developers.cloudflare.com/dns/manage-dns-records/how-to/round-robin-dns/

[23] M. Ileana, O. Maria Ioana, and C. Marian, “Using Docker Swarm to Improve Performance in Distributed Web Systems,” in 17th International Conference on Development And Application Systems, Institute of Electrical and Electronics Engineers, 2024, pp. 1–6. doi: 10.1109/DAS61944.2024.10541234.

Downloads

Published

2025-03-22

How to Cite

[1]
M. R. Fachrudin and A. R. Muslikh, “Optimization of Application Deployment Architecture in Container Orchestration”, JAIC, vol. 9, no. 2, pp. 383–392, Mar. 2025.

Issue

Section

Articles

Similar Articles

1 2 3 4 5 > >> 

You may also start an advanced similarity search for this article.