Comparative Analysis Retrofit and Ktor Client Performance in Various Internet Speeds Internet on MSMEs Cashier Application
DOI:
https://doi.org/10.52436/1.jutif.2025.6.3.3925Keywords:
HTTP networking library, Ktor Client, RetrofitAbstract
MSMEs (Micro, Small, and Medium Enterprises) in Indonesia face uneven network infrastructure, with more than 20% of smartphone users having download speeds below 10 Mbps. This condition hampers the efficiency of data processing between client and server, while MSMEs need innovations such as digitization of bookkeeping to increase competitiveness. The selection of HTTP networking libraries such as Retrofit and Ktor Client is very important, because both play a role in the process of sending and receiving data from the server. This research aims to analyze the performance of both libraries in the Lulu POS application to determine the most optimal library in supporting MSME operations in various network conditions. The test is conducted in two scenarios: the first scenario uses text data and the second scenario uses text and image data. Each scenario has several test cases that will be tested at six different internet speeds. The results show that Retrofit excels in response time for text data with a performance improvement of 18.85% and network usage of 21.33%. Ktor Client is superior in scenarios involving text and image data, with a response time advantage of 7.20% and network usage of 0.08%. On the other hand, Retrofit is more efficient in memory usage in both scenarios, with an advantage of 16.49% in text data and 4.70% in text and image data. In conclusion, Retrofit is more stable for applications focusing on text data such as Lulu POS, while Ktor Client is more suitable for applications that manage images. These results make MSMEs get cashier applications with optimal libraries for various network conditions, so that operations are smoother and data management efficiency increases.
Downloads
References
A. N. Hanum and A. Sinarasri, “Analisis Faktor-Faktor yang Mempengaruhi Adopsi E-Commerce dan Dampaknya Terhadap Kinerja UMKM (Studi Kasus UMKM di Kota Semarang),” MAKSIMUM, vol. 7, no. 1, p. 1, Nov. 2019, doi: 10.26714/mki.7.1.2017.1-15.
N. Marina and R. M. Pd, “Penerapan Pembukuan Digitalisasi Informasi pada UMKM Desa Sumberjaya,” vol. 2, no. 2, 2022.
M. I. Alamsyahbana et al., “Pencatatan Pembukuan Berbasis Digital Dengan Menggunakan Aplikasi Buku Kas (Studi Kasus Pelaku UMKM Desa Toapaya Selatan),” Communnity Development Journal, vol. 4, no. 6, 2023, doi: 10.31004/cdj.v4i6.23585.
W. Monalisa and B. Prabowo, “Analisis Penggunaaan Aplikasi Kasir pada pelaku UMKM Kecamatan Tampan Kota Pekanbaru Riau,” vol. 1, pp. 145–151, 2023, doi: 10.59581/jap-widyakarya.v1i1.619.
H. Listiyono, E. Nur Wahyudi, D. Agus Diartono, U. Stikubank Semarang Jl Tri Lomba Juang No, and M. Semarang, “Dinamika Implementasi QRIS: Meninjau Peluang dan Tantangan bagi UMKM Indonesia,” vol. 8, Jul. 2024, doi: 10.37817/ikraith-informatika.v8i2.
H. Khatri, “Over 20% of smartphone users in Indonesia see average download speeds below 10Mbps | Opensignal.” Accessed: Jul. 14, 2024. [Online]. Available: https://www.opensignal.com/2023/10/10/over-20-of-smartphone-users-in-indonesia-see-average-download-speeds-below-10mbps
K. W. K. W. I, “Pengembangan Frontend Aplikasi Sistem Monitoring Detak Jantung Berbasis Mobile dengan Koneksi IoT,” Telkom Open Library, 2024.
M. S. Ferryansyah, M. Tri Ananta, and L. Fanani, “Analisis Performansi HTTP Networking Library pada Android (Studi Kasus: Portal Berita),” 2018. [Online]. Available: http://j-ptiik.ub.ac.id
“ISO/IEC 25010:2023(en), Systems and software engineering — Systems and software Quality Requirements and Evaluation (SQuaRE) — Product quality model.” Accessed: Oct. 08, 2024. [Online]. Available: https://www.iso.org/obp/ui/en/#iso:std:iso-iec:25010:ed-2:v1:en
B. Vernanda, A. Prayoga, A. Pinandito, and A. P. Kharisma, “Studi Performa Android Networking Library antara Fast Android Network Library, Retrofit dan OkHttp,” 2023. [Online]. Available: http://j-ptiik.ub.ac.id
“Android network libraries.” Accessed: Oct. 05, 2024. [Online]. Available: https://www.appbrain.com/stats/libraries/tag/network/android-network-libraries
“Ktor: Build Asynchronous Servers and Clients in Kotlin | Ktor Framework.” Accessed: Oct. 08, 2024. [Online]. Available: https://ktor.io/
“Kotlin Programming Language.” Accessed: Oct. 08, 2024. [Online]. Available: https://kotlinlang.org/
“TrafficStats | Android Developers.” Accessed: Sep. 29, 2024. [Online]. Available: https://developer.android.com/reference/kotlin/android/net/TrafficStats
“Debug.MemoryInfo | Android Developers.” Accessed: Sep. 29, 2024. [Online]. Available: https://developer.android.com/reference/android/os/Debug.MemoryInfo
I. M. Riyadhi, Intan Purnamasari, and Kamal Prihandani, “Penerapan Pola Arsitektur MVVM pada Perancangan Aplikasi Pengaduan Masyarakat Berbasis Android,” INFOTECH journal, vol. 9, no. 1, pp. 147–158, May 2023, doi: 10.31949/infotech.v9i1.5246.
B. Amary, “Implementasi HTTP Library Retrofit, Volley, dan HttpURLConnection dalam Akses Data,” 2023.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Muhamad Akbar Abdul Kholik, Dinar Nugroho Pratomo

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