ANALISIS PERBANDINGAN FRAMEWORK BACKEND NODE.JS DAN SPRINGBOOT MENGGUNAKAN METODE GRAPHQL
Abstract
As the demand for fast, responsive, and scalable web applications grows, API technologies have rapidly evolved. GraphQL offers efficient data management and transfer, with Node.js and Spring Boot being two widely used frameworks for its implementation. This study aims to compare the performance of GraphQL APIs built with these frameworks. Performance testing focused on response time, throughput, error rate, and concurrent user capacity, using dummy data under varying loads via Postman. Results show that under low loads (10 virtual users), both frameworks perform similarly. However, at higher loads (50 virtual users), Spring Boot demonstrates better performance with faster response time (514 ms vs. 1,766 ms), higher throughput (53.64 rps vs. 18.46 rps), and no errors, while Node.js records a 1.79% error rate. In Spike and Peak scenarios, Spring Boot consistently outperforms Node.js. These findings provide valuable insights for developers in selecting the most suitable framework based on application needs.
References
Anwar, M. D., & Kautsar, I. A. (2024). Arsitektur Perangkat Lunak Berbasis Layanan Mikro pada Sistem Manajemen Informasi Kantin. Physical Sciences, Life Science and Engineering, 1(2), 13. https://doi.org/10.47134/pslse.v1i2.196
Barus, A. C., Harungguan, J., & Manulu, E. (2021). PENGUJIAN API WEBSITE UNTUK PERBAIKAN PERFORMANSI APLIKASI DITENUN. Journal of Applied Technology and Informatics.
Brito, G., & Valente, M. T. (2020). REST vs GraphQL: A controlled experiment. Proceedings - IEEE 17th International Conference on Software Architecture, ICSA 2020, 81–91. https://doi.org/10.1109/ICSA47634.2020.00016
Choma, D., Chwaleba, K., & Dzieńkowski, M. (2023). THE EFFICIENCY AND RELIABILITY OF BACKEND TECHNOLOGIES: EXPRESS, DJANGO, AND SPRING BOOT. Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Srodowiska, 13(4), 73–78. https://doi.org/10.35784/iapgos.4279
Darmi, Y., Pinandita, K., & Muhammadiyah Bengkulu, U. (2024). IMPLEMENTASI PERBANDINGAN METODE GRAPHQL DAN REST API PADA TEKNOLOGI NODEJS COMPARATIVE IMPLEMENTATION OF GRAPHQL AND REST API METHODS IN NODEJS TECHNOLOGY. Journal of Information Technology and Computer Science (INTECOMS), 7(1).
Dwinur Andrianto, L., & Fatrianto Suyatno, D. (2024). Analisis Performa Load Testing Antara Mysql Dan Nosql Mongodb Pada RestAPI Nodejs Menggunakan Postman.
Firdausi, A. T., Hormansyah, D. S., & Ervansyah, F. (2021). JIP (Jurnal Informatika Polinema). 7.
Hanif, F., Ahmad, I., Darwis, D., Lazuardi Putra, I., & Fauzan Ramadhani, M. (2022). ANALISA PERBANDINGAN METODE GRAPHQL API DAN REST API DENGAN MENGGUNAKAN ASP.NET CORE WEB API FRAMEWORK. Dalam Jl. ZA. Pagar Alam (Vol. 3, Nomor 2).
Hermanto, M., Amir, T., Siregar, H., & Ginting, S. (2024). FULLSTACK PROGRAMMING: MEMBANGUN APPLICATION PROGRAMMING INTERFACE (API) DENGAN LARAVEL (M. H. Tinambunan, A. H. Siregar, & S. Ginting, Ed.).
Hunter, T. (2020). Distributed Systems with Node.js. O’Reilly Media, Inc.
mdn. (2022). What is JavaScript? https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript
Muhammad Hasnain, & Fermi Pasha. (2020). An Efficient Performance Testing of Web Services.
Mulana, L., Prihandani, K., Rizal, A., Singaperbanga, U., & Abstract, K. (2022). Analisis Perbandingan Kinerja Framework Codeigniter Dengan Express.Js Pada Server RESTful Api. Jurnal Ilmiah Wahana Pendidikan, 8(16), 316–326. https://doi.org/10.5281/zenodo.7067707
Mythily, M., Samson Arun Raj, A., & Thanakumar Joseph, I. (2022a). An Analysis of the Significance of Spring Boot in The Market. 2022 International Conference on Inventive Computation Technologies (ICICT), 1277–1281. https://doi.org/10.1109/ICICT54344.2022.9850910
Node. (2024). Node.js, “about” Node.js.
Ogbu Uzoma. (2023). A Brief Hitory of Node.js. https://medium.com/@ogbuuzoma413/brief-history-of-nodejs-de0cac0af448
Postman. (2024). Simulate user traffic to test your API performance. https://learning.postman.com/docs/collections/performance-testing/testing-api-performance/
Putu, I., Eka Pratama, A., Made, I., & Raharja, S. (2023). Node.js Performance Benchmarking and Analysis at Virtualbox, Docker, and Podman Environment Using Node-Bench Method. www.joiv.org/index.php/joiv
Santhy Toamain, A., Pusat, B., & Maluku, S. P. (2021). Rancang Aplikasi Chatbot Sebagai Virtual Asisten Dalam Pelayanan Pengguna Data Di Badan Pusat Statistik Provinsi Maluku. Jurnal Teknologi Informasi, 7. http://ejournal.urindo.ac.id/index.php/TI
Sharma, S. (2023). Modern API Development with Spring 6 and Spring Boot 3. Packt Publishing.
Shudhuashar, M. (2023). Sistem Pendataan Berat Badan Kambing Dengan Sensor Load Cell dan RFID Menggunakan Teknologi Cloud Computing Berbasis IOT. Journal Computer Islamic.
Copyright (c) 2025 Jurnal Sistem Informasi (JUSIN)

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



