Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : Jurnal Teknik Informatika (JUTIF)

REDUCING UNDER-FETCHING AND OVER-FETCHING IN REST API WITH GRAPHQL FOR WEB-BASED SOFTWARE DEVELOPMENT Muzaki, Rizki Nuzul; Salam, Abu
Jurnal Teknik Informatika (Jutif) Vol. 5 No. 2 (2024): JUTIF Volume 5, Number 2, April 2024
Publisher : Informatika, Universitas Jenderal Soedirman

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.52436/1.jutif.2024.5.2.1725

Abstract

Rest API is the most popular architectural style in website-based software development. However, Rest API has under-fetching and over-fetching problems. Under-fetching is a situation when the client has to make requests to several endpoints, while over-fetching is a situation when the client receives more data than needed. There is an alternative technology to Rest API, namely GraphQL. GraphQL has the potential to solve both under-fetching and over-fetching problems. This research aims to analyze how quickly GraphQL responds in overcoming under-fetching and over-fetching problems and conducting condition analysis to determine when it is best to use GraphQL. In this research, tests were conducted to answer these problems by applying each of the five test scenarios for under-fetching and over-fetching problems. Test results show that GraphQL can provide response speeds of 36.84% to 93.04% superior to Rest API. In the case of under-fetching, it is best to choose GraphQL when there is a need to call more than four endpoints. Meanwhile, for over-fetching problems, using the Rest API provides adequate response speed. However, if a more optimal response speed is needed, using GraphQL could be an alternative.
Co-Authors Adhitya Nugraha Alan Ma’ruf, Farda Alpiana, Vika Alzami, Farrikh Anisatawalanita Ukhifahdhina Ardin, Akbar Ilham Ardytha Luthfiarta Arifianti, Fidela Putri Arifin, Muhammad Farhan Astuti, Yani Parti Candra Irawan Catur Supriyanto Catur Supriyanto Damaswara, Silvester Aditya Debrina Luna Arghata Mangkawa Diana Aqmala Dimas Pratama, Yohanes Diyan Adiatma Dzaki, Azmi Abiyyu Egia Rosi Subhiyakto, Egia Rosi Eko Hari Rachmawanto Erlin Dolphina Erwin Yudi Hidayat Erwin Yudi Hidayat Etika Kartikadarma Fahmi Amiq Faisa, Daffa Kumara Khiar Farda Alan Ma'ruf Ferry Bintang Nugroho Fitriyani, Shelomita Haresta, Alif Agsakli Ifan Rizqa Ika Novita Dewi Iskandar, Deo Andrianto Juli Ratnawati Junta Zeniarja Kahingide, Hastyantoko Dwiki Khafiizh Hastuti Kurniawan, Defri Kurniawan, Wira Adi Kusmiyati Kusmiyati L. Budi Handoko Lesmarna, Salsabila Putri Maulana, Fadhli Faqih Maulia, Aenur Hakim Megantara, Rama Aria Moh. Sholik Muhammad Jamhari Mukti, David Ramantya Muljono Muljono Mulyanto, Edy Muzaki, Rizki Nuzul Nabila, Talitha Safa Nafanda, Cynthia Dwi Norman, Maria Bernadette Chayeenee Octaviani, Dhita Aulia Pamungkas, Tahta Arya Paramita, Cinantya Pawidya, Novandra Putra Prinantyo, Gilang Djati Putra, Aditya Herdiansyah Ramadhan Rakhmat Sani Ramadhan, Irfan Surya Restu Agung Pamuji Ricardus Anggi Pramunendar Riyan Ardiansyah Safira, Almira Zuhrotus Sidiq, Syaiful Rizal Sindhu Rakasiwi Susanto, Mario Given Utomo, Danang Wahyu Verdian Putra Wicaksana Wibowo, Isro' Rizky Winarsih, Nurul Anisa Sri Yonismara, Arvie Arvearie