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
- Willy Riyadi, Jasmir Jasmir, Performance Prediction of Airport Traffic Using LSTM and CNN-LSTM Models , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 22 No. 3 (2023)
- Christopel H. Simanjuntak, Musfiah Musfiah, Muhammad Bahit, Cristovani W. Lohonauman, Stenly B. Dodie, Khamla Nonalinsavath, Middleware Development for Heterogeneous Databases on Multi-Architecture Systems Small Medium Enterprise , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 25 No. 1 (2025)
- Ahmad Ashril Rizal, Siti Soraya, Multi Time Steps Prediction dengan Recurrent Neural Network Long Short Term Memory , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 18 No. 1 (2018)
- Relita Buaton, Solikhun Solikhun, Application of Numerical Measure Variations in K-Means Clustering for Grouping Data , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 1 (2023)
- yusri ikhwani, As`ary Ramadhan, Muhammad Bahit, Taufik Hidayat Faesal, Single elimination tournament design using dynamic programming algorithm , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 1 (2023)
- Frans Mikael Sinaga, Sio Jurnalis Pipin, Sunaryo Winardi, Karina Mannita Tarigan, Ananda Putra Brahmana, Analyzing Sentiment with Self-Organizing Map and Long Short-Term Memory Algorithms , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 1 (2023)
- Helna Wardhana, I Made Yadi Dharma, Khairan Marzuki, Ibjan Syarif Hidayatullah, Implementation of Neural Machine Translation in Translating from Indonesian to Sasak Language , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 23 No. 2 (2024)
- Aini Suri Talita, Aristiawan Wiguna, Implementasi Algoritma Long Short-Term Memory (LSTM) Untuk Mendeteksi Ujaran Kebencian (Hate Speech) Pada Kasus Pilpres 2019 , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 19 No. 1 (2019)
- Dwi Intan Af'idah, Dairoh Dairoh, Sharfina Febbi Handayani, Riszki Wijayatun Pratiwi, Susi Indah Sari, Sentimen Ulasan Destinasi Wisata Pulau Bali Menggunakan Bidirectional Long Short Term Memory , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 3 (2022)
- Evi Triandini, I Gede Suardika, I Ketut Putu Suniantara, Database Click Stream of E-commerce Functional , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 1 (2021)
You may also start an advanced similarity search for this article.
.png)











