Analysis of Nginx Web Server Performance Using IPv6 with Load Balancing Method Based on Weighted Round Robin Algorithm Scheduling
Main Article Content
Abstract
The need for the internet affects the growth in the number of website visitors and increases the server's traffic load. The increasing number of visitors often causes the website to overload due to an excessive number of requests despite the website still using a single server. So, it is necessary to apply Load Balancing techniques. The implementation requires an algorithm, specifically the Load Balancing method, which is responsible for dividing traffic as a workload among multiple servers. This research utilizes the Weighted Round Robin (WRR) algorithm, which considers server load based on device specifications. The scenario tests optimal performance load sharing among the WRR 1:1:1, WRR 2:1:1, and WRR 3:1:1 configurations then measures Response time and CPU Utilization. Testing is performed 30 times in each test scenario, and then the average value is taken. Giving traffic loads of 1000, 2000, and 3000 Requests using H2load Benchmark. The results of the WRR 2:1:1 ratio show that it is the most optimal, as the Load is evenly distributed among the three web servers. Reading the average CPU usage for 1000-3000 Request traffic, it reaches 71%-79% on Server 1, 47%-56% on Server 2, and 48%-56% on Server 3. Then, the average Response time is 223.77ms at 1000 Requests, 233.13ms at 2000 Requests, and 235.37ms at 3000 Requests.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
References
[2] C. Ma, and Y. Chi, “Evaluation Test and Improvement of Load Balancing Algorithms of Nginx”, IEEE Access., vol. 10, 2022, doi: 10.1109/ACCESS.2022.3146422.
[3] J. L. Ruoyu, L. Yunchun and L. Wen, n Integrated Load-balancing Scheduling Algorithm for Nginx-Based Web Application Clusters, vol. 1060. Journal of Physics: Conference Series, 2018.
[4] J. T. Bezboruah and A. Bora, Some Aspects of Implementation of Web Services in Load Balancing Cluster-Based Web Server, vol. 10. International Journal of Information Retrieval Research (IJIRR), 2020.
[5] S. Sree Priya and T. Rajendran, " Load balancing using improved weighted round robin algorithm in cloud computing environment ", International Journal of Cloud Computing, vol. 13, no. 05, 2024.
[6] T. T. Kwan, R. E. McGrath and D. A. Reed, "NCSA's World Wide Web Server: Design and Performance", IEEE Computer, vol. 28, no. 11, pp. 68-74, November 1995.
[7] ITBU, “Alamat IP versi 6”, https://p2k.itbu.ac.id/id3/3070-2950/Alamat-Ip-Versi-6_27376_itbu_ensiklopedia-dunia-q-it bu. html (accessed Feb. 10, 2022).
[8] Jamain, R. Y., Periyadi & Ismail, S. J. I., 2015. IMPLEMENTATION OF WEB APPLICATION SECURITY WITH WEB APPLICATION FIREWALL. E-Proceeding of Applied Science, Vol 1, p. 2191.
[9] Upasana, "H2load for REST API Benchmarkmarking", 2020. https://www.javacodemonk.com/H2load-for-rest-api-Benchmarkmarking-a04b11a3 (accessed Mar. 10, 2022).
[10] N. Huda, “Apa itu VirtualBox?”, jagongoding.com, 2020. https://jagongoding.com/others/apa-itu-virtual-box/ (accessed Feb. 02, 2022).
[11] Linuxsec, “HTOP - Monitoring Memory, CPU, and Running Process Usage in Linux”, linuxsec.org, 2019. https://www.linuxsec.org/2019/05/perintah-HTOP.html (acces sed Feb. 02, 2022).
[12] I. R. Wijaya, R. Munadi, Hafidudin, " Analysis of Load Balancing Performance Using Dynamic Ratio Algorithm on Three Web Server Loads ", e-Proceeding Eng., vol. 6, no. 1, pp. 1–8, 2019.
[13] Vmware, "CPU (%)", 2019. https://docs.vmware.com/en/ VMware-vSphere/7.0/com.vmware.vsphere.monitoring.doc / GUID-FC93B6FD-DCA7-4513-A45E-660ECAC54817.html (accessed Jun. 14, 2022).
[14] Gtmetrix, "Lighthouse : Reduce initial server response time." https://gtmetrix.com/reduce-initial-server-response-time.html (accessed Mar. 10, 2022).
[15] A. Hanafiah and R. Wandri, " Implementation of Load Balancing with Weighted Round Robin Scheduling Algorithm in Overcoming Web Server Load," IT J. Res. Dev., vol. 5, no. 2, pp. 226–233, 2021, doi: 10.25299/itjrd.2021.vol5(2).5795.