Comparative Study of Web Server Performance Testing with and without Docker Based on Virtual Machines

  • Fajar Kurnia Ramadhan Universitas Singaperbangsa Karawang
  • Garno Garno Universitas Singaperbangsa Karawang
  • Arip Solehudin Universitas Singaperbangsa Karawang
Keywords: Web Server Performance, Docker, Virtual Machines, Performance Testing, Load Test, System Infrastructure Development Life Cycle (SIDLC)

Abstract

Web server development is often hindered by the cost and resources required, as developing a web server typically requires a bare-metal server. Container technology, which allows for the development of multiple web servers on a single bare-metal server, has become popular. One of the most widely used containers is Docker. Docker reduces the need for costs and resources. Beyond the issues of cost and resource requirements, the performance of web servers also needs to be considered. The performance of web servers with and without Docker needs to be verified. This research aims to test the performance of two web servers, one using Docker and one not using Docker, utilizing the native hypervisor VMware ESXi. The web server performance test items in this study include CPU and RAM resource usage. The method for developing infrastructure systems uses SIDLC (System Infrastructure Development Life Cycle). Performance testing (Load Test) was conducted using Apache JMeter as a tool, with the manipulation of the number of threads predetermined. Resource usage information was monitored using Prometheus and Grafana. The research results show that with the same resources for each virtual machine, the CPU resource usage of Virtual Machine 2 (Undockerized) is less than that of Virtual Machine 1 (Dockerized). Meanwhile, RAM resource usage is not affected by the number of users on both virtual machines. Virtual Machine 2 (Undockerized) is better at handling HTTP requests. Virtual Machine 1 (Dockerized) can handle only 2,790 users, while Virtual Machine 2 (Undockerized) can handle more than 2,790 users without errors.

Downloads

Download data is not yet available.

References

I. Muakhori, Sunardi, and A. Fadlil, “Membangun Web Server Menggunakan Dynamic Domain Name System (DNS) Berbasis Berkeley Internet Name Domain (BIND9) pada IP Dinamis,” Prosiding JSI, vol. 5, no. 2, Aug. 2018.

R. Khalida, A. Muhajirin, and S. Setiawati, “Teknis Kerja Docker Container untuk Optimalisasi Penyebaran Aplikasi,” Jurnal Penelitian Ilmu Komputer, System Embedded & Logic, vol. 7, no. 2, pp. 167–176, Sep. 2019.

Abdurrahman, Soni, and A. Hafid, “Optimalisasi Sumber Daya Komputer Dengan Virtualisasi Server Menggunakan Proxmox Ve,” JURNAL FASILKOM, vol. 9, no. 2, pp. 369–376, Aug. 2019.

Sriyanta, W. W. Winarno, and Sudarmawan, “Optimalisasi Penggunaan Hardware Server Mempergunakan Virtualisasi Server Di Sman 1 Wonosari,” Jurnal INFORMA Politeknik Indonusa Surakarta, vol. 4, no. 2, pp. 35–42, 2018.

I. Miell and A. H. Sayers, Docker in Practice, Second Edition. Shelter Island: Manning Publications Co., 2019.

M. Dimas Erlangga and A. Prihanto, “Analisis Reliabilitas Multiserver Menggunakan Load Balancing Dengan Metode Denial Of Service,” Journal of Informatics and Computer Science, vol. 03, no. 03, pp. 258–266, 2022.

S. Dwiyatno, E. Rakhmat, and O. Gustiawan, “Implementasi Virtualisasi Server Berbasis Docker Container,” Jurnal PROSISKO, vol. 7, no. 2, pp. 165–175, Sep. 2020.

O. Jader, S. Zeebaree, and R. Zebari, “A State Of Art Survey For Web Server Performance Measurement And Load Balancing Mechanisms,” International Journal of Scientific & Technology Research, vol. 8, pp. 535–543, Jan. 2019.

S. Apridayanti, Isnawaty, and R. A. Saputra, “Desain dan Implementasi Virtualisasi Berbasis Docker untuk Deployment Aplkasi Web,” semanTIK, vol. 4, no. 2, pp. 37–46, Jul. 2018, doi: 10.5281/zenodo.1407862.

G. C. Obasuyi and A. Sari, “Security Challenges of Virtualization Hypervisors in Virtualized Hardware Environment,” International Journal of Communications, Network and System Sciences, vol. 08, no. 07, pp. 260–273, 2015, doi: 10.4236/ijcns.2015.87026.

Z. Gu and Q. Zhao, “A State-of-the-Art Survey on Real-Time Issues in Embedded Systems Virtualization,” Journal of Software Engineering and Applications, vol. 05, no. 04, pp. 277–290, 2012, doi: 10.4236/jsea.2012.54033.

A. Junaidi, “Studi Perbandingan Performansi Antara MongoDB dan MySQL Dalam Lingkungan Big Data,” in Annual Research Seminar UNSRi 2016, 2016, vol. 2, no. 1, pp. 460–465. [Online]. Available: http://ars.ilkom.unsri.ac.id460

Y. Irawan, “Pengujian Sistem Informasi Pengelolaan Pelatihan Kerja UPT BLK Kabupaten Kudus dengan Metode Whitebox Testing,” Journal Speed-Sentra Penelitian Engineering dan Edukasi, vol. 9, no. 3, pp. 59–63, 2017.

A. D. Putra, W. Yahya, and A. Bhawiyuga, “Analisis Kinerja Dan Konsumsi Sumber Daya Aplikasi Web Server Pada Platform Raspberry Pi,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 3, no. 4, pp. 3513–3521, Apr. 2019.

C. P. Agustika, W. S. Saputra, and M. Idhom, “Pengujian Aplikasi Greenwallet dengan Metode Load Testing dan Apache Jmeter,” Jurnal Informatika dan Sistem Informasi (JIFoSI), vol. 2, no. 2, pp. 190–195, Jul. 2021.

S. S. Abed and al-H. H. Omar, “Implementing Web Testing System Depending on Performance Testing Using Load Testing Method,” in Research in Intelligent and Computing in Engineering, 2021, pp. 475–490.

H. Lokawati and Y. Widyani, “Monitoring System of Multi-Tenant Software as a Service (SaaS),” in 2019 International Conference on Data and Software Engineering (ICoDSE), Nov. 2019, pp. 1–5. doi: 10.1109/ICoDSE48700.2019.9092741.

M. Brattstrom and P. Morreale, “Scalable Agentless Cloud Network Monitoring,” in 2017 IEEE 4th International Conference on Cyber Security and Cloud Computing (CSCloud), Jun. 2017, pp. 171–176. doi: 10.1109/CSCloud.2017.11.

L. Chen, M. Xian, and J. Liu, “Monitoring System of OpenStack Cloud Platform Based on Prometheus,” in 2020 International Conference on Computer Vision, Image and Deep Learning (CVIDL), 2020, pp. 206–209. doi: 10.1109/CVIDL51233.2020.0-100.

P. Barca, B. Vujanić, and N. Maček, “Monitoring and Predicting Linux Server Performance With Linear Regression,” in Sinteza 2018 - International Scientific Conference on Information Technology and Data Related Research, 2018, pp. 68–73. doi: 10.15308/Sinteza-2018-68-73.

Ramadoni, M. Z. Amirudin, R. Fahmi, E. Utami, and M. S. Mustafa, “Evaluasi Penggunaan Prometheus dan Grafana Untuk Monitoring Database Mongodb,” JIP (Jurnal Informatika Polinema), vol. 7, no. 2, pp. 43–50, Feb. 2021.

D. Kardha, A. R. Pamungkas, and H. Setiawan, “Pengembangan Virtual Server dengan Proxmox VE 6.2 sebagai Cloud Computing berbasis Free/Open Source Software,” Go Infotech: Jurnal Ilmiah STMIK AUB, vol. 26, no. 1, p. 85, Jun. 2020, doi: 10.36309/goi.v26i1.126.

M. Jiang, C. J. Jong, P. Poppell, K. Budhathoky, and R. Hull, “System Infrastructure Development Life Cycle for Enterprise Computing Systems,” in 2009 International Conference on Computational Intelligence and Software Engineering, Dec. 2009, pp. 1–6. doi: 10.1109/CISE.2009.5363878.

Published
2024-07-07
How to Cite
[1]
F. Ramadhan, G. Garno, and A. Solehudin, “Comparative Study of Web Server Performance Testing with and without Docker Based on Virtual Machines”, JAIC, vol. 8, no. 1, pp. 155-166, Jul. 2024.