PENERAPAN SINGLETON PATTERN PADA SISTEM AUTENTIKASI JWT UNTUK MENINGKATKAN PERFORMA APLIKASI
Abstract
Penelitian ini bertujuan untuk menganalisis penerapan Singleton Pattern pada sistem autentikasi berbasis JWT dan dampaknya terhadap performa aplikasi. Sistem autentikasi berbasis JWT menawarkan keamanan yang baik dengan menggunakan token akses yang efisien, namun tantangan muncul pada pengelolaan sesi dan alokasi sumber daya. Dalam eksperimen ini, dua skenario diuji: sistem tanpa penerapan Singleton Pattern dan sistem dengan penerapan Singleton Pattern pada JWT Validator dan Session Manager. Hasil penelitian menunjukkan peningkatan kinerja yang signifikan, dengan pengurangan waktu respon 65%, pengurangan penggunaan memori 55,3%, serta peningkatan throughput 186,8%. Skalabilitas meningkat dengan sistem mampu mempertahankan performa lebih stabil meski menghadapi beban lebih tinggi.
Downloads
References
C. Gemawaty and Y. Yuliani, "MANAJEMEN IDENTITAS DAN AKSES DALAM KEAMANAN SISTEM INFORMASI," J. Manajamen Inform. Jayakarta, vol. 4, no. 4, pp. 396-403, 2024, doi: 10.52362/jmijayakarta.v4i4.1527.
A. Nazir, S. Sagheer, H. Naaz, Z. I. Ansari, M. H. Khan, and M. S. Umar, "Grid Based Pair Authentication with Improved Security," in 2024 4th Intl. Conf. on Technological Advancements in Computational Sciences (ICTACS), 2024, pp. 1636-1641. doi: 10.1109/ICTACS62700.2024.10840482.
S. Wang, Q. Zhang, L. Hu, X. Zhang, Y. Wang, and C. Aggarwal, "Sequential/Session-based Recommendations: Challenges, Approaches, Applications and Opportunities," in SIGIR 2022, pp. 3425-3428. doi: 10.1145/3477495.3532685.
I. Shikhverdiyev, E. Babayev, C. Rahimli, N. Rahimli, and H. Aslanova, "Secure authentication in e-government 2.0: a comparative analysis of traditional session-based and modern jwt-based authentication," Int. Sci. J. Eng. Agric., vol. 3, no. 6, pp. 117-129, Dec. 2024, doi: 10.46299/j.isjea.20240306.12.
R. Raymond and S. M. A. Savarimuthu, "Software Design Patterns and Architecture Patterns - A Study Explored," in 2022 5th Intl. Conf. on Contemporary Computing and Informatics (IC3I), 2022, pp. 1998-2006. doi: 10.1109/IC3I56241.2022.10073279.
J. A. N. Hasim, U. Sa'adah, D. I. P. Sari, F. A. Damastuti, and F. N. Koirudin, "Developing Microframework based on Singleton and Abstract Factory Design Pattern," in 2022 Intl. Electronics Symposium (IES), 2022, pp. 676-683. doi: 10.1109/IES55876.2022.9888548.
R. Sharma and R. Arora, "Access Control," in Low-Code Development with Appsmith, Berkeley, CA: Apress, 2023, pp. 179-196. doi: 10.1007/978-1-4842-9813-8_6.
A. Tijms, T. Bais, and W. Keil, "MicroProfile JWT," in The Definitive Guide to Security in Jakarta EE, Berkeley, CA: Apress, 2022, pp. 475-519. doi: 10.1007/978-1-4842-7945-8_8.
H. Alnuhait, W. Alzyadat, A. Althunibat, H. Kahtan, B. Zaqaibeh, and H. A. Al-Khawaja, "Web application performance assessment," International Journal of Advanced and Applied Sciences, vol. 11, no. 9, pp. 214-226, Sep. 2024, doi: 10.21833/ijaas.2024.09.023.
N. Mitikov and N. Guk, "Investigation of Software Application Performance Issues," Matematichne ta Komp. Modelyuvannya, vol. 25, pp. 22-36, Sep. 2024, doi: 10.32626/2308-5916.2024-25.22-36.
Z. K. Pathan, N. D. Singh, K. R. Sharma, and H. C. Vachheta, "Comprehensive Analysis of Cloud Computing Performance Factors," IJARSCT, pp. 344-353, Nov. 2024, doi: 10.48175/ijarsct-22164.
A. B. Prasetya and I. Suharjo, "BACKEND API DATA PROTECTION MENGGUNAKAN JWT TOKEN DAN ALGORITMA AES 256-BIT," JITET, vol. 13, no. 1, 2025, doi: 10.23960/jitet.v13i1.5699.
A. P. Rahman and N. Erzed, "SISTEM PENGESAHAN DOKUMEN DENGAN QR CODE DAN JWT," J. Mhs. Tek. Inform., vol. 8, no. 6, pp. 12143-12150, 2024.
Akanksha and A. Chaturvedi, "Comparison of Different Authentication Techniques and Steps to Implement Robust JWT Authentication," in 2022 7th Intl. Conf. on Communication and Electronics Systems (ICCES), 2022, pp. 772-779. doi: 10.1109/ICCES54183.2022.9835796.
S. V. Akram, S. K. Joshi, and R. Deorari, "Web Application Based Authentication System," in 2022 Intl. Interdisciplinary Humanitarian Conf. for Sustainability (IIHC), 2022, pp. 1439-1443. doi: 10.1109/IIHC55949.2022.10059984.

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



