Komparasi Teknik Load Balancing Menggunakan Algoritma Round Robin Dan Least Connection Pada Container Docker

  • Ramdan Nugraha Universitas Singaperbangsa Karawang, Indonesia
  • Arip Solehudin Universitas Singaperbangsa Karawang, Indonesia
  • Agung Susilo Yuda Irawan Universitas Singaperbangsa Karawang, Indonesia
Keywords: Apache, Load Balancing, Round Robin, Least Connection, Docker, Load Testing, SIDLC

Abstract

Single servers that often go down due to overload or high workload, this can be handled by the Cluster Server Load Balancing scheme, but the performance of this scheme needs to be measured. This research purpose to compare the performance of two algorithms, namely the Round Robin and Least Connection algorithms in implementing the Apache load balancer in Docker container-based virtualization. The performance test used is load testing using the Apache JMeter tool. The parameters measured are throughput and response time. This research uses the SIDLC (System Infrastructure Development Life Cycle) method. The research results show that the Apache load balancer with the least connection algorithm is superior because it can handle 300,000 sample requests with a throughput value of 2120.9 requests/seconds and a response time of 238 milliseconds. The Apache load balancer with least connection can handle http-requests in 141 seconds, this is 9 seconds faster than the round robin algorithm which is able to handle 300,000 sample requests in 150 seconds, then the error value for the least connection algorithm is still below 0.05% during the highest test peak, 300,000 sample requests.

References

Afis, Dimas Setiawan, Mahendra Data, and Widhi Yahya. “Load Balancing Server Web Berdasarkan Jumlah Koneksi Klien Pada Docker Swarm” 3, no. 1 (2019): 925–30.
Chen, Shiang Liang, Ethan Yun-Yao Chen, and Suang-Hong Kuo. “CLB: A Novel Load Balancing Architecture and Algorithm for Cloud Services.” Computers & Electrical Engineering 58 (November 2016). https://doi.org/10.1016/j.compeleceng.2016.01.029.
Mustafa, M E, and Amin MubarkAlamin Ibrahim. “Load Balancing Algorithms Round-Robin (RR), Least-Connection and Least Loaded Efficiency.” Vol 1 (2017): 25–29.
Naik, Nitin. “Migrating from Virtualization to Dockerization in the Cloud: Simulation and Evaluation of Distributed Systems.” In 2016 IEEE 10th International Symposium on the Maintenance and Evolution of Service-Oriented and Cloud-Based Environments (MESOCA), 1–8, 2016. https://doi.org/10.1109/MESOCA.2016.9.
Putra, Muhammad Aldi Aditia, Iskandar Fitri, and Agus Iskandar. “Implementasi High Availability Cluster Web Server Menggunakan Virtualisasi Container Docker.” Jurnal Media Informatika Budidarma 4, no. 1 (2020): 9. https://doi.org/10.30865/mib.v4i1.1729.
Sadeli, Muhammad. Aplikasi Bisnis Dengan PHP Dan MySQL. 1st ed. Vol. 2. Palembang: Maxikom, 2014.
Turnbull, J. The Docker Book: Containerization Is the New Virtualization. James Turnbull, 2014. https://books.google.co.id/books?id=4xQKBAAAQBAJ.
Published
2024-07-02
How to Cite
Nugraha, R., Solehudin, A., & Irawan, A. S. Y. (2024). Komparasi Teknik Load Balancing Menggunakan Algoritma Round Robin Dan Least Connection Pada Container Docker. JURNAL LENTERA : Kajian Keagamaan, Keilmuan Dan Teknologi, 23(2), 209-216. Retrieved from https://ejournal.staimnglawak.ac.id/index.php/lentera/article/view/1341