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
- Siti Ummi Masruroh, Cong Dai Nguyen, Doni Febrianus, Comparative Analysis of TF-IDF and Modern Text Embedding for the Classification of Islamic Ideologies on Indonesian Twitter , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 25 No. 1 (2025)
- Ismarmiaty Ismarmiaty, Desventri Etmy, Model Pendekatan UTAUT2 Modifikasi pada Analisis Penerimaan dan Penggunaan Teknologi E-Government di Nusa Tenggara Barat , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 18 No. 1 (2018)
- Yuri Ariyanto, Yan Watequlis Syaifudin, M. Hasyim Ratsanjani, Ali Ridho Muladawila, Triana Fatmawati, Pramana Yoga Saputra, Chandrasena Setiadi , Cyber Threat Detection and Automated Response Using Wazuh and Telegram API , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 25 No. 1 (2025)
- Lalu Zazuli Azhar Mardedi, Khairan Marzuki, Rancang Bangun Jaringan Komputer LAN Berdasarkan Perbandingan Kinerja Routing Protokol EIGRP dan Routing Protokol OSPF , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 18 No. 2 (2019)
- Indra Indra, Nur Aliza, Detecting Disaster Trending Topics on Indonesian Tweets Using BNgram , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 1 (2023)
- Yarza Aprizal, Rabin Ibnu Zainal, Afriyudi Afriyudi, Perbandingan Metode Backpropagation dan Learning Vector Quantization (LVQ) Dalam Menggali Potensi Mahasiswa Baru di STMIK PalComTech , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 18 No. 2 (2019)
- Fitra Ahya Mubarok, Mohammad Reza Faisal, Dwi Kartini, Dodon Turianto Nugrahadi, Triando Hamonangan Saragih, Gender Classification of Twitter Users Using Convolutional Neural Network , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 1 (2023)
- Fiby Nur Afiana, Pungkas Subarkah, A. Kholil Hidayat, Analisis Perbandingan Metode TAM dan Metode UTAUT 2 dalam Mengukur Kesuksesan Penerapan SIMRS pada Rumah Sakit Wijaya Kusuma DKT Purwokerto , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 19 No. 1 (2019)
- Muhamad Azwar, Eka Nurul Qomaliyah, Nurul Indriani, Development of a Smart System for Optimizing Treatment Using Forward Chaining Method , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 2 (2024)
- Dekki Widiatmoko, Aripriharta Aripriharta, Kasiyanto Kasiyanto, Dodo Irmanto, Muchamad Wahyu Prasetyo, Power Efficiency using Bank Capacitor Regulator on Field Service Shoes with Fast Charge Method , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 2 (2024)
You may also start an advanced similarity search for this article.
.png)











