Analysis of NGINX Static Content Delivery on the Performance of a Docker-based Photo Gallery Backend

Itsna Nur Hamida, Masy Ari Ulinuha, Hery Mustofa, Khothibul Umam

Abstract


Photo studio websites typically present large volumes of multimedia content through photo gallery modules. In many implementations, this content is served dynamically by the application backend, which can increase processing load and degrade system performance. This study analyzes the impact of static content delivery using NGINX on the performance of a Docker-based photo gallery backend. A quantitative experimental method was applied by comparing two scenarios: dynamic content delivery without NGINX and static content delivery using NGINX. The experiments were conducted using Apache Benchmark with identical request and concurrency parameters, accompanied by monitoring of backend resource utilization. The results show that dynamic delivery produces lower throughput (463.78 requests per second) and higher response time (108.27 ms), along with significant backend CPU usage. In contrast, the use of NGINX increases throughput to 1105.25 requests per second, reduces response time to 45.33 ms, and significantly lowers backend CPU and memory consumption. These findings demonstrate that separating static and dynamic content delivery using NGINX is effective in improving backend performance in Docker-based photo gallery applications.

Keywords


backend performance; docker; NGINX; photo gallery; static content

Full Text:

PDF

References


A. Y. Chandra, “Analisis Performansi Antara Apache & Amp; Nginx Web Server dalam menangani Client Request,” Jurnal Sistem dan Informatika (JSI), Vol. 14, No. 1, pp. 48–56, Nov. 2019, DOI: 10.30864/jsi.v14i1.248.

M. Tomiša, M. Milković, and M. Čačić, “Performance Evaluation of Dynamic and Static WordPress-based Websites,” in 2019 23rd International Computer Science and Engineering Conference (ICSEC), IEEE, Oct. 2019, pp. 321–324. DOI: 10.1109/ICSEC47112.2019.8974709.

W. Wicoksono, H. A. Mustaqhim, P. P. Anwas, dan 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, Aug. 2025, DOI: 10.32877/bt.v8i1.2661.

J. Wang and Z. Kai, “Performance Analysis and Optimization of Nginx-based Web Server,” J. Phys. Conf. Ser., Vol. 1955, No. 1, p. 012033, Jun. 2021, DOI: 10.1088/1742-6596/1955/1/012033.

M. Sobieraj and D. Kotyński, “Docker Performance Evaluation Across Operating Systems,” Applied Sciences, Vol. 14, No. 15, p. 6672, Jul. 2024, DOI: 10.3390/app14156672.

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, Jul. 2024, DOI: 10.30871/jaic.v8i1.3884.

M. Data, M. Luthfi, and W. Yahya, “Optimizing Single Low-End LAMP Server using NGINX Reverse Proxy Caching,” in 2017 International Conference on Sustainable Information Engineering and Technology (SIET), IEEE, Nov. 2017, pp. 21–23. DOI: 10.1109/SIET.2017.8304102.

F. Az-zahra and S. P. Yuliadi, “Analisis Perbandingan Kinerja Website Statis dan Dinamis dalam Optimalisasi Layanan Informasi Digital,” Jurnal Sadewa : Publikasi Ilmu Pendidikan, Pembelajaran dan Ilmu Sosial, Vol. 3, No. 4, pp. 91–100, Oct. 2025, DOI: 10.61132/sadewa.v3i4.2430.

M. Ghaznavi, E. Jalalpour, M. A. Salahuddin, R. Boutaba, D. Migault, and S. Preda, “Content Delivery Network Security: A Survey,” IEEE Communications Surveys & Tutorials, Vol. 23, No. 4, pp. 2166–2190, Jun. 2021, DOI: 10.1109/COMST.2021.3093492.

I. K. S. Satwika and K. N. Semadi, “Perbandingan Performansi Web Server Apache dan Nginx dengan menggunakan IPv6,” SCAN - Jurnal Teknologi Informasi dan Komunikasi, Vol. 15, No. 1, Feb. 2020, DOI: 10.33005/scan.v15i1.1847.

M. Rafli, “Jurnal Pengujian Kinerja Load Balancing Web Server menggunakan Nginx Riverse Proxy berbasis OS Centos 7,” JATISI (Jurnal Teknik Informatika dan Sistem Informasi), Vol. 9, No. 3, pp. 1824–1840, Sep. 2022, DOI: 10.35957/jatisi.v9i3.2185.

E. Mabotha, N. E. Mabunda, and A. Ali, “A Dockerized Approach to Dynamic Endpoint Management for RESTful Application Programming Interfaces in Internet of Things Ecosystems,” Sensors, Vol. 25, No. 10, p. 2993, May 2025, DOI: 10.3390/s25102993.

W. M. C. J. T. Kithulwatta, K. P. N. Jayasena, B. T. G. S. Kumara, and R. M. K. T. Rathnayaka, “Performance Evaluation of Docker-based Apache and Nginx Web Server,” in 2022 3rd International Conference for Emerging Technology (INCET), IEEE, May 2022, pp. 1–6. DOI: 10.1109/INCET54531.2022.9824303.

M. Y. S. Putra and A. S. Affandi, “Analisis Tingkat Efektivitas Cloudflare, Docker dan Nginx Proxy Manager sebagai Sarana untuk meningkatkan Keamanan Web,” Jurnal Ilmiah Teknologi Informasi Asia, Vol. 19, No. 1, pp. 24–30, Mar. 2025, DOI: 10.32815/jitika.v19i1.1070.

C. Catalano, A. Chezzi, V. S. Barletta, and F. Tommasi, “Defeating FIDO2/CTAP2/WebAuthn using Browser in the Middle and Reflected Cross Site Scripting,” Journal of Computer Virology and Hacking Techniques, Vol. 21, No. 1, p. 11, May 2025, DOI: 10.1007/s11416-025-00556-2.

C. Ma and Y. Chi, “Evaluation Test and Improvement of Load Balancing Algorithms of Nginx,” IEEE Access, Vol. 10, pp. 14311–14324, 2022, DOI: 10.1109/ACCESS.2022.3146422.




DOI: https://doi.org/10.32520/stmsi.v15i4.6139

Article Metrics

Abstract view : 3 times
PDF - 0 times

Refbacks

  • There are currently no refbacks.


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