Analisis Performansi Layanan Web Menggunakan Arsitektur Microservice Dan Monolitik

Siti Amatullah Karimah(1*), Haris Hamdani Latif(2), Sidik Prabowo(3),

(1) Universitas Telkom, Bandung, Indonesia
(2) Universitas Telkom, Bandung, Indonesia
(3) Universitas Telkom, Bandung, Indonesia
(*) Corresponding Author

Abstract


Container-based virtualization technology is currently popularly used across all cloud platforms and is predicted to continue for the next few years. The use of this container technology will make it easier and save resources used for services. Coupled with the development of the current web architecture which is increasingly being developed and used for commercial purposes, including Microservice and Monolithic. This Microservice architecture divides its services into smaller parts based on functionality. Meanwhile, Monolithic Architecture is referred to as conventional architecture because in it services become a unified whole. For this reason, a test scenario was carried out to determine the performance of the two web architectures. In this study, load testing was carried out with the number of requests 50, 100, 500, and 1000 on Microservice and Monolithic to show scalability. The results show that the Monolithic service is superior with an average CPU usage on AWS of 83% while Microservice is at 99%. CPU in Monolithic Docker Container is 92% while Microservice is 30% for each service. For Memory Usage, Microservice gets an average of 14% while for Monolithic services it is 12%. Response Time was obtained at 1497.31 ms for Microservice and 89.02 ms for Monolithic. In testing the availability by terminating/stopping the service in the Microservice service then it is reactivated and takes 2 seconds, while in the Monolithic service it takes 3 seconds to restore the service. When the service is turned off, the Microservice service can still run normally, only the dead service will experience interference, this is inversely proportional to the Monolithic service which will be completely dead when the service is turned off.

Full Text:

PDF

References


“Mengenal Cloud Computing: Pengertian, Tipe, dan Fungsinya,” https://indonesiancloud.com/mengenal-cloud-computing/, Jun. 22, 2022.

V. Singh and S. K Peddoju, “Container-based Microservice Architecture for Cloud Applications,” Indian Institute of Technology Roorkee, 2017.

N. Dinh Nguyen and T. Kim, “Toward Highly Scalable Load Balancing in Kubernetes Clusters,” Chungbuk National University, 2020.

J. ’ Shah and D. ’ Dubaria, “Building modern clouds: Using docker, kubernetes google cloud platform,” IEEE 9th Annu. Comput. Commun. Work. Conf. CCWC 2019, pp. 184–189, 2019.

L. ’ A. Vaygan, M. ’ A. Saied, M. ’ Toeroe, and F. ’ Khendek, “Microservice Based Architecture: Towards High-Availability for Stateful Applications with Kubernetes,” 2019 IEEE 19th International Conference on Software Quality, Reliability and Security (QRS) 2019, pp. 176–185.

G. Blinowski, A. Ojdowska, and A. Przybyłek, “Monolithic vs. Microservice Architecture: A Performance and Scalability Evaluation,” Institute of Computer Science, Warsaw University of Technology, 2022.

L. Abdollahi Vayghan, M. Aymen Saied, M. Toeroe, and F. Khendek, “Deploying Microservice Based Applications with Kubernetes: Experiments and Lessons Learned,” Engineering and Computer Science Concordia University Montreal, Canada, 2018.

M. Kalske, N. Makitalo, and T. Mikkonen, “Challenges When Moving from Monolith to Microservice Architecture,” Department of Computer Science, University of Helsinki, Helsinki, Finland, 2018.

F. Tapia, M. Ángel Mora, W. Fuertes, H. Aules, E. Flores, and T. Toulkeridis, “From Monolithic Systems to Microservices: A Comparative Study of Performance,” Department of Computer Sciences, Universidad de las Fuerzas Armadas ESPE, Av. General Rumiñahui S/N, P.O. Box 17-15-231B, Sangolquí 171103, Ecuador, 2020.

O. Al-Debagy and P. Martinek, “A Comparative Review of Microservices and Monolithic Architectures,” Department of Electronics Technology Budapest University of Technology and Economics Budapest, Hungary, 2018.




DOI: https://doi.org/10.30645/kesatria.v4i4.233

DOI (PDF): https://doi.org/10.30645/kesatria.v4i4.233.g231

Refbacks

  • There are currently no refbacks.


Published Papers Indexed/Abstracted By: