Comparative Performance Analysis of Apache2 and Nginx Web Servers on Ubuntu Server Using the Apache Benchmark Method
DOI:
https://doi.org/10.59934/jaiea.v5i3.2596Keywords:
Apache2, Nginx, Ubuntu Server, Apache Benchamks, Web ServerAbstract
Advancements in information technology have led to an increasing demand for fast, stable, and efficient website services. Web server performance is a crucial factor in maintaining service quality, particularly when handling simultaneous user requests. Apache2 and Nginx are two widely used web servers on Linux operating systems; they possess distinct architectural characteristics that result in differing performance levels. This study aims to analyze and compare the performance of Apache2 and Nginx web servers on Ubuntu Server using the Apache Benchmark method. The research employed an experimental approach involving the installation, configuration, and testing of both web servers within a VirtualBox virtualization environment. The performance metrics evaluated included requests per second, time per request, failed requests, and transfer rate. Testing was conducted across three scenarios featuring varying numbers of requests and concurrent users. The results indicate that both web servers successfully handled all requests without any failures. However, Nginx demonstrated superior performance compared to Apache2, achieving higher requests per second and transfer rates, as well as lower time per request. This study provides comparative performance data for Apache2 and Nginx on Ubuntu Server, serving as a reference for selecting the appropriate web server based on specific implementation requirements.
Downloads
References
K. M. D. Pertiwi, R. F. Maulana, and A. Y. Wicaksono, “Implementasi dan Analisa Performa Berbagai Platform Web Server pada Lingkungan Multicore,” Jurnal Edukasi dan Penelitian Informatika, vol. 8, no. 2, pp. 275–283, 2022.
Y. N. Khamidah, B. Arifwidodo, and M. A. Amanaf, “Pengaruh Client Request Pada Web Server Apache dan Nginx Dengan IPv6 Menggunakan Apache Benchmark,” Techno (Jurnal Fakultas Teknik Universitas Muhammadiyah Purwokerto), vol. 25, no. 1, 2024, doi: 10.30595/techno.v25i1.14056.
W. Wicoksono, H. A. Mustaqhim, P. P. Anwas, and L. N. L. Badratul, “Performance Comparison of NGINX, Apache, and Lighttpd Using WRK on a Debian,” Bit-Tech, vol. 8, no. 1, pp. 670–680, 2025, doi: 10.32877/bt.v8i1.2661.
H. A. Rafiu, O. S. Adesina, and K. S. Adekeye, “Modelling the Response Rate of Apache Web Server Using Extreme Value Theory,” Scientific African, vol. 23, Art. no. e02086, 2024, doi: 10.1016/j.sciaf.2024.e02086.
S. Akva, S. Akva, Y. Lorinez, and J. Tampubolon, “Analisis Penggunaan Load Balancing dengan HAProxy terhadap Kinerja Web Server pada Ubuntu,” Jurnal Multimedia dan Teknologi Informasi, vol. 7, no. 1, pp. 165–171, 2025.
R. J. L. Purba, Y. S. M. Gurning, and A. A. Silaen, “Analisis Performa Web Server Apache Menggunakan Sistem Operasi Arch Linux dan Archcraft Linux,” Journal of Humanities Education Management Accounting and Transportation, vol. 2, no. 1, pp. 480–497, 2025, doi: 10.57235/hemat.v2i1.5110.
T. Takagaki and K. Mizutani, “Deep Analysis of Containerized Web Server Performance Using eBPF-Captured Data,” IEEJ Transactions on Electrical and Electronic Engineering, vol. 20, no. 11, pp. 1826–1828, 2025, doi: 10.1002/tee.70070.
T. Prantl, L. Wolf, J. Schiller, M. Pruckner, S. Kounev, T. Dänzer, and J. von Kistowski, “Server-Side Performance and Environmental Impact Evaluation of a Hybrid E-Learning Website,” Discover Applied Sciences, 2025, doi: 10.1007/s42452-025-08059-x.
F. K. Ramadhan, G. Garno, and A. Solehudin, “Comparative Study of Web Server Performance Testing with and without Docker Based on Virtual Machines,” Journal of Applied Informatics and Computing, vol. 8, no. 1, pp. 155–166, 2024, doi: 10.30871/jaic.v8i1.3884.
A. P. G. Perdana, “Analisis Perbandingan Performa Web Server Apache Menggunakan Docker dan Podman,” Jurnal Informatics and Computer Science (JINACS), vol. 6, no. 4, pp. 1145–1155, 2025.
R. Januhandini and U. Y. Oktiawati, “Analisis Kinerja Web Server Apache, Nginx, dan Caddy dengan Metode Stress Testing Menggunakan Autocannon,” Journal of Internet and Software Engineering (JISE), vol. 6, no. 2, pp. 96–100, 2024.
M. Naufal, A. Azi, B. Arifwidodo, and E. Wahyudi, “Analisis Performansi Web Server Saat Menangani Permintaan Client Menggunakan Metode Reverse Proxy Caching Nginx dan Varnish,” Open Access Journal of Telecommunication, Electronics, and Control Engineering (JTECE), vol. 5, no. 1, pp. 14–21, 2023.
M. L. Cahyadi, H. Setiawan, and Z. R. Mair, “Analisis Perbandingan Kinerja Web Server Nginx dan LiteSpeed Menggunakan Httperf dengan Sistem Operasi Debian,” Jurnal Pengembangan Sistem Informasi dan Informatika, vol. 4, no. 2, 2023.
A. Algiffary and T. Sutabri, “Analisis Kinerja Algoritme WRR dengan WLC pada Load Balancing Nginx,” Indonesian Journal of Computer Science, vol. 12, no. 2, pp. 284–301, 2023.
Agustine, Lady, and S. Seimahuira, “Penerapan Metode SAW dalam Analisa Perbandingan Performa Web Server (Apache, Nginx, Lighttpd, IIS) pada Bahasa Pemrograman PHP,” REMIK (Riset dan E-Jurnal Manajemen Informatika Komputer), vol. 7, no. 1, pp. 409–420, 2023.
D. S. Rahmadani, T. Ariyadi, E. Novitasari, and D. Pertiwiningsih, “Analisis Kinerja Web Server Berbasis Linux Ubuntu 22.04,” Jurnal Tera, vol. 5, no. 1, pp. 35–44, 2025, doi: 10.59832/jt.v5i1.348.
S. D. Riskiono and D. Pasha, “Analisis Perbandingan Server Load Balancing dengan HAProxy & Nginx dalam Mendukung Kinerja Server E-Learning,” Jurnal Telekomunikasi dan Komputer, vol. 10, no. 3, pp. 135–144, 2020, doi: 10.22441/incomtech.v10i3.8751.
A. Zulfahrizan, M. R. A. Tanjung, M. Z. Al-Kautsar, and D. Kiswanto, “Analisis Perbandingan Performa MySQL pada Lingkungan Virtualisasi pada Linux Debian dan Ubuntu Berbasis Web Server Nginx,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 1, pp. 1107–1112, 2024, doi: 10.36040/jati.v9i1.12545.
A. Syarif Aziz, “Analisis Kinerja Web Server Apache, Nginx, OpenLiteSpeed, dan OpenResty,” Journal of Informatics and Computer Science, vol. 11, no. 1, pp. 1–7, 2025.
H. Tang, S. S. Kolahi, and L. Thompson, “Analysis of HTTP DDoS Flood Attacks on Apache2 and Nginx Web Servers with Linux Ubuntu,” in Proceedings of the International Seminar on Intelligent Technology and Its Applications (ISITIA), 2024, pp. 716–721, doi: 10.1109/ISITIA63062.2024.10668064.
A. R. Busran, “Analisis Perbandingan Performa Apache Web Server dan Nginx Menggunakan Apache JMeter,” Jurnal Teknoif, vol. 8, no. 2, pp. 87–92, 2020.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








