Comparison of Memory usage between REST API in Javascript and Golang
DOI:
https://doi.org/10.30812/matrik.v22i1.1325Keywords:
Comparison, Golang, Javascript, Rest API, Memory UsageAbstract
Various mobile devices have limited memory, thus it must be used as effectively as possible. As a result, apps that will operate on mobile devices must take memory usage efficiency into account. The REST API, which is typically used to connect several applications that utilize different types of technology so that the applications can be connected, is one sort of technology that is currently commonly used to construct mobile applications. Javascript and Golang are the types of technology used to create the REST API. Undoubtedly, each of these technologies offers a unique performance. Research that can give a broad overview of the variations in the impact of memory resource utilization between Javascript and Golang is therefore required. In this work, two REST APIs are created using Javascript and Golang by researchers utilizing an experimental quantitative methodology. Following that, the memory utilization of the two REST APIs was evaluated using the exact same two types of datasets obtained from console.cloud.google.com. There was a difference in memory consumption between Javascript and Golang after the Wilcoxon test, t-test for paired data, and equivalence test, but the difference was essentially inconsequential (practically insignificant).
Downloads
References
[2] O. S. Akanji, O. A. Abisoye, and M. A. Iliyasu, “Mitigating Slow Hypertext Transfer Protocol Distributed Denial of Service Attacks in Software Defined Networks,†Journal of Information and Communication Technology, vol. 20, no. 3, pp. 277–304, 2021, doi: https://doi.org/10.32890/jict2021.20.3.1.
[3] P. J. Roig, S. Alcaraz, K. Gilly, and C. Juiz, “Algebraic Formal Modelling for HTTP Main Methods using ACP,†in 2019 23rd International Conference Electronics, Jun. 2019, pp. 1–6, doi: 10.1109/ELECTRONICS.2019.8765572.
[4] B. Chinthanet et al., “Code-based vulnerability detection in Node.js applications,†in Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering, Dec. 2020, vol. 20, pp. 1199–1203, doi: 10.1145/3324884.3421838.
[5] J. Whitney, C. Gifford, and M. Pantoja, “Distributed execution of communicating sequential process-style concurrency: Golang case study,†The Journal of Supercomputing, vol. 75, no. 3, pp. 1396–1409, Mar. 2019, doi: 10.1007/s11227-018-2649-2.
[6] N. N. Joseph, R. N. Roy, and T. A. Steitz, “pdbmine: A Node.js API for the RCSB Protein Data Bank (PDB),†pp. 1–4, 2019.
[7] T. Turc, “Internet of Things Based on Http,†Scientific Bulletin of the Petru Maior University of Targu Mures, vol. 15, no. 2, pp. 5–8, 2019, doi: https://www.researchgate.net/publication/330281473_Internet_of_Things_Based_on_HTTP.
[8] M. Bavdys, “Golang Multithreading,†in Proceedings of X International Scientific and Practical Conference “Electronics and Information Technologies,†2018, no. 10, p. 12, doi: 10.30970/elit2018.A12.
[9] S. Sukaridhoto, D. K. Basuki, H. Yulianus, and R. P. N. Budiarti, “Performance Evaluation of Integrated Deep Learning Web Platform for Dataset Training,†Applied Technology and Computing Science Journal, vol. 2, no. 2, pp. 117–128, 2020, doi: 10.33086/atcsj.v2i2.1516.
[10] S. S. Brimzhanova, S. K. Atanov, M. Khuralay, K. S. Kobelekov, and L. G. Gagarina, “Cross-platform compilation of programming language Golang for Raspberry Pi,†PervasiveHealth: Pervasive Computing Technologies for Healthcare, vol. 19, no. 10, pp. 1–5, 2019, doi: https://doi.org/10.1145/3330431.3330441.
[11] Y. Harjoseputro, Albertus Ari Kristanto, and Joseph Eric Samodra, “Golang and NSG Implementation in REST API Based Third-Party Sandbox System,†Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 4, no. 4, pp. 745–750, Aug. 2020, doi: 10.29207/resti.v4i4.2218.
[12] A. C. Rompis, “Perbandingan Performa Kinerja Node.js, PHP, dan Python dalam Aplikasi REST,†CogITo Smart Journal, vol. 4, no. 1, p. 160, Jun. 2018, doi: 10.31154/cogito.v4i1.92.160-170.
[13] H. K. Dhalla, “A Performance Comparison of RESTful Applications Implemented in Spring Boot Java and MS.NET Core,†Journal of Physics: Conference Series, vol. 1933, no. 1, p. 012041, Jun. 2021, doi: 10.1088/1742-6596/1933/1/012041.
[14] F. Effendy, Taufik, and B. Adhilaksono, “Performance Comparison of Web Backend and Database: A Case Study of Node.JS, Golang and MySQL, Mongo DB,†Recent Advances in Computer Science and Communications, vol. 14, no. 6, pp. 1955–1961, Oct. 2021, doi: 10.2174/2666255813666191219104133.
[15] A. A. Pangera and D. Ariyus, “Manajemen Memory,†STMIK AMIKOM Yogyakarta, Teknik Informatika, pp. 1–6, 2017.
[16] A. Apriani, H. Zakiyudin, and K. Marzuki, “Penerapan Algoritma Cosine Similarity dan Pembobotan TF-IDF System Penerimaan Mahasiswa Baru pada Kampus Swasta,†Jurnal Bumigora Information Technology (BITe), vol. 3, no. 1, pp. 19–27, 2021, doi: 10.30812/bite.v3i1.1110.
[17] D. D. Clark and S. Wedeman, “Measurement, Meaning and Purpose: Exploring the M-Lab NDT Dataset,†SSRN Electronic Journal, pp. 1–44, 2021, doi: 10.2139/ssrn.3898339.
[18] A. Arcuri, “RESTful API automated test case generation with Evomaster,†ACM Transactions on Software Engineering and Methodology, vol. 28, no. 1, pp. 1–37, 2019, doi: 10.1145/3293455.
[19] J. Shi et al., “Optimally estimating the sample standard deviation from the five-number summary,†Research Synthesis Methods, vol. 11, no. 5, pp. 641–654, 2020, doi: 10.1002/jrsm.1429.
[20] S. Harrisson, “The downside of dispersity: Why the standard deviation is a better measure of dispersion in precision polymerization,†Polymer Chemistry, vol. 9, no. 12, pp. 1366–1370, 2018, doi: 10.1039/c8py00138c.
[21] Mole, “Margin of Error,†Journal of Cell Science, vol. 132, no. 15, p. jcs235499, Aug. 2019, doi: 10.1242/jcs.235499.
[22] M. Hasyim, P. Kuswarini, and Kaharuddin, “Semiotic Model for Equivalence and Non-Equivalence in Translation,†Humanities & Social Sciences Reviews, vol. 8, no. 3, pp. 381–391, 2020, doi: 10.18510/hssr.2020.8341.
[23] D. S. Dimitrova, V. K. Kaishev, and S. Tan, “Computing the kolmogorov-smirnov distribution when the underlying cdf is purely discrete, mixed, or continuous,†Journal of Statistical Software, vol. 95, no. 10, pp. 1–42, 2020, doi: 10.18637/jss.v095.i10.
[24] C. Montolalu and Y. Langi, “Pengaruh Pelatihan Dasar Komputer dan Teknologi Informasi bagi Guru-Guru dengan Uji-T Berpasangan (Paired Sample T-Test),†d’CARTESIAN, vol. 7, no. 1, p. 44, May 2018, doi: 10.35799/dc.7.1.2018.20113.
[25] M. Bellaiche, R. Oozeer, G. Gerardi-Temporel, C. Faure, and Y. Vandenplas, “Multiple functional gastrointestinal disorders are frequent in formula-fed infants and decrease their quality of life,†Acta Paediatrica, vol. 107, no. 7, pp. 1276–1282, Jul. 2018, doi: 10.1111/apa.14348.
Downloads
Published
Issue
Section
How to Cite
Similar Articles
- Nur Fitrianingsih Hasan, Muhammad Salis Amin Iribaram, Digitalisasi Kamus Bahasa Daerah Papua Menggunakan Metode Rapid Application Development , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 3 (2022)
- Prihandoko Prihandoko, Deny Jollyta, Gusrianty Gusrianty, Muhammad Siddik, Johan Johan, Cluster Validity for Optimizing Classification Model: Davies Bouldin Index – Random Forest Algorithm , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 24 No. 1 (2024)
- Erlin Erlin, Yenny Desnelita, Nurliana Nasution, Laili Suryati, Fransiskus Zoromi, Dampak SMOTE terhadap Kinerja Random Forest Classifier berdasarkan Data Tidak seimbang , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 3 (2022)
- Muhammad Hairul Abror, Dadang Priyanto, MEDIA BANTU PEMBELAJARAN IPA SMP SEBAGAI BEKAL MENGHADAPI UJIAN NASIONAL (UN) , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 15 No. 1 (2015)
- Moh.Erwin Indrawan, Ahmat Adil, IMPLEMENTASI RESTFUL WEB SERVICE ONE CHIP MULTI-CLIENT UNTUK MENGOPTIMALKAN PENJUALAN PULSA ALL OPERATOR , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 15 No. 2 (2016)
- Elly Mufida, Martini Martini, Ady Hermawan, Perancangan Apilkasi Parenting Penguatan Perilaku Positif Anak oleh Orang Tua Berbasis Android , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 17 No. 2 (2018)
- Guntoro Guntoro, Lisnawita Lisnawita, Loneli Costaner, Optimizing Random Forest for IoT Cyberattack Detection using SMOTE: A Study on CIC-IoT2023 Dataset , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 25 No. 1 (2025)
- Hartono, Khusnul Khotimah, Rokin Maharjan, Improving Detection Accuracy of Brute-Force Attacks on MariaDB Using Standard Isolation Forest: A Comparative Analysis with RotatedVariant , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 25 No. 1 (2025)
- Muchlis Nurseno, Umar Aditiawarman, Haris Al Qodri Maarif, Teddy Mantoro, Detecting Hidden Illegal Online Gambling on .go.id Domains Using Web Scraping Algorithms , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 2 (2024)
- Ni Wayan Sumartini Saraswati, Ni Wayan Wardani, Ketut Laksmi Maswari, I Dewa Made Krishna Muku, Rapid Application Development untuk Sistem Informasi Payroll berbasis Web , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 20 No. 2 (2021)
You may also start an advanced similarity search for this article.
.png)











