ANALISIS PERFORMA RETROFIT DAN KTOR CLIENT DALAM PENGEMBANGAN APLIKASI KASIR UMKM (LULU POS)
MUHAMAD AKBAR ABDUL KHOLIK, Dinar Nugroho Pratomo, S.Kom., M.IM., M.Cs.
2024 | Tugas Akhir | D4 Teknologi Perangkat LunakUMK
UMKM (Micro, Small and Medium Enterprises) play an important role in the economy in various sectors. Innovations such as digital bookkeeping are urgently needed to improve efficiency and competitiveness. However, a major challenge for UMKM in Indonesia is the uneven network infrastructure, with more than 20% of smartphone users having download speeds below 10 Mbps. This drives the need for an efficient data processing solution between clinet and server. The selection of HTTP networking libraries such as Retrofit and Ktor Client is important because these libraries are responsible for sending and receiving data from the server. This research aims to analyze the performance of both libraries on the Lulu POS application, in order to find the most optimal library in supporting the smooth operation of UMKM when using the Lulu POS application in various network conditions. Tests were conducted in two scenarios, the first scenario using text data, while the second scenario involved text and image data. Each scenario consists of several test cases, which will be tested at six different internet speeds, namely 1 Mbps, 10 Mbps, 20 Mbps, 30 Mbps, 40 Mbps, and 50 Mbps. The test results show that Retrofit excels in response time and network usage for text data, with an advantage of 18.85% and 21.33%. Ktor Client excels in both text and image data scenarios, with a 7.20?vantage in response time and 0.08?vantage in network usage. On memory usage, Retrofit excelled in all scenarios, with 16.49% for text data and 4.70% for text and image data. Retrofit proved to be more stable for applications that involve a lot of text data management such as the Lulu POS application, while Ktor Client is more suitable for applications that involve a lot of text and image data management.
Kata Kunci : HTTP networking library, Retrofit, Ktor Client