Implementasi Teknik Clustering untuk Meningkatkan Performa Aplikasi Node JS

Bahrul Rozak, Erizal Erizal, Firman Noor Hasan

Abstract


Permasalahan yang sering kali muncul pada aplikasi berbasis server side, adalah request request dan response dalam jumlah yang besar. Proses request serta response akan terus berlanjut selama pengguna berinteraksi dengan aplikasi, Jika hal ini terus berlanjut maka penggunaan sumber daya (resource) yang berlebih pada CPU dapat menjadikan perfoma aplikasi tidak optimal bahkan dapat menimbulkan crash, yang berdampak pada layanan dan kualitas aplikasi. Oleh karena itu, diperlukan teknik untuk menangani permasalahan tersebut. Metode yang diimplementasikan pada penelitian ini ialah membuat aplikasi berbasis server side dengan dua spesifikasi yaitu dengan module cluster dan tanpa module cluster, selanjutnya kedua aplikasi dengan spesifikasi yang berbeda, masing-masing akan dilakukan tahap pengujian performa serta monitoring, kemudian dilakukan proses analisa hasil perbandingan untuk mendapatkan kesimpulan. Module cluster akan membantu untuk melakukan teknik clustering, teknik clustering ialah mengelompokkan proses yang sama serta sering dieksekusi. Dengan teknik ini beban kerja pada CPU akan terdistribusi, sehingga memberikan peningkatan performa aplikasi.

Full Text:

References


H. Purwanto and A. Rahmawati, “SISTEM INFORMASI PELAPORAN LPG (SIMPEL) BERBASIS WEB DENGAN MODEL MULTI USER,” vol. 9, no. 1, 2020.

N. Višnjevac, R. Mihajlović, M. Šoškić, Ž. Cvijetinović, and B. Bajat, “Prototype of the 3D cadastral system based on a NoSQL database and a Javascript visualization application,” ISPRS Int J Geoinf, vol. 8, no. 5, May 2019, doi: 10.3390/ijgi8050227.

N. Vasilakis et al., “Preventing Dynamic Library Compromise on Node.js via RWX-Based Privilege Reduction,” in Proceedings of the ACM Conference on Computer and Communications Security, Nov. 2021, pp. 1821–1838. doi: 10.1145/3460120.3484535.

N. van Ginkel, W. de Groef, F. Massacci, and F. Piessens, “A Server-Side JavaScript Security Architecture for Secure Integration of Third-Party Libraries,” Security and Communication Networks, vol. 2019, 2019, doi: 10.1155/2019/9629034

J. Jueckstock and A. Kapravelos, “VisibleV8: In-browser monitoring of JavaScript in the wild,” in Proceedings of the ACM SIGCOMM Internet Measurement Conference, IMC, Oct. 2019, pp. 393–405. doi: 10.1145/3355369.3355599.

K. Stefanoski, A. Karadimche, and I. Dimitrievski, “PERFORMANCE COMPARISON OF C++ AND JAVASCRIPT (NODE.JS-V8 ENGINE),” 2019. [Online]. Available: https://www.researchgate.net/publication/336408691

S. Kumar, “A REVIEW ON CLIENT-SERVER BASED APPLICATIONS AND RESEARCH OPPORTUNITY,” Article in International Journal of Scientific Research, 2019, doi: 10.24327/ijrsr.2019.1007.3768.

K. I. D. Kyriakou and N. D. Tselikas, “Complementing JavaScript in High-Performance Node.js and Web Applications with Rust and WebAssembly,” Electronics (Switzerland), vol. 11, no. 19, Oct. 2022, doi: 10.3390/electronics11193217.

B. Jabiyev, O. Mirzaei, A. Kharraz, and E. Kirda, “Preventing server-side request forgery attacks,” in Proceedings of the ACM Symposium on Applied Computing, Mar. 2021, pp. 1626–1635. doi: 10.1145/3412841.3442036.

A. Anwyl-Irvine, E. S. Dalmaijer, N. Hodges, and J. K. Evershed, “Realistic precision and accuracy of online experiment platforms, web browsers, and devices”, doi: 10.3758/s13428-020-01501-5/Published.

S. Vila, N. Moraes, F. Guirado, J. L. Lérida, F. Cores, and F. L. Verdi, “Cloud Resources Reassignment Based on CPU and Bandwidth Correlation,” in Advances in Intelligent Systems and Computing, 2020, vol. 1151 AISC, pp. 1101–1113. doi: 10.1007/978-3-030-44041-1_95.

L. Fan et al., “Large-scale analysis of framework-specific exceptions in Android apps,” May 2018, pp. 408–419. doi: 10.1145/3180155.3180222.

J. Bughin, T. Catlin, M. Hirt, and P. Willmott, “Why digital strategies fail.”

D. Lomet, “Cost/performance in modern data stores: How data caching systems succeed,” in 14th International Workshop on Data Management on New Hardware, DaMoN 2018, Jun. 2018. doi: 10.1145/3211922.3211927.

A. A. Neghabi, N. J. Navimipour, M. Hosseinzadeh, and A. Rezaee, “Load Balancing Mechanisms in the Software Defined Networks: A Systematic and Comprehensive Review of the Literature,” IEEE Access, vol. 6. Institute of Electrical and Electronics Engineers Inc., pp. 14159–14178, Mar. 04, 2018. doi: 10.1109/ACCESS.2018.2805842.

O. H. Jader, S. R. M. Zeebaree, and R. R. Zebari, “A State Of Art Survey For Web Server Performance Measurement And Load Balancing Mechanisms Image Processing and Security View project Parallel Processing and Distributed Systems View project Omid H Jader Erbil polytechnic university A State Of Art Survey For Web Server Performance Measurement And Load Balancing Mechanisms,” Article in International Journal of Scientific & Technology Research, vol. 8, 2019, [Online]. Available: www.ijstr.org

A. Shahidinejad, M. Ghobaei-Arani, and M. Masdari, “Resource provisioning using workload clustering in cloud computing environment: a hybrid approach,” Cluster Comput, vol. 24, no. 1, pp. 319–342, Mar. 2021, doi: 10.1007/s10586-020-03107-0.




DOI: https://doi.org/10.30591/smartcomp.v12i4.4532

Refbacks

  • There are currently no refbacks.


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

SMART COMP INDEXED OR REGISTERED BY

  
Flag Counter

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