Performance Analysis of API Protocol Models as Recommendations for Developers in Application Development

Abstract
The evaluation of various API types reveals distinct strengths and weaknesses. REST APIs exhibit inefficient performance with high average response times and an error rate of approximately 14%, indicating potential delays and instability under load. SOAP APIs, with an average response time of 167 ms, perform better than REST in terms of speed but still lag behind GraphQL and have a slightly higher error rate of 14.80%. GraphQL demonstrates the fastest average response time at around 171 ms, offering high efficiency in data delivery, although its error rate is notably high at 15%, signaling a need for improved stability. RPC APIs, with an average response time of 238 ms, are less speedy compared to GraphQL and SOAP but excel in stability with a very low or zero error rate, making them highly reliable under high loads. Overall, GraphQL is optimal for applications requiring rapid data interaction, RPC is best suited for scenarios demanding high consistency and reliability, SOAP offers a middle ground, and REST may be appropriate for simpler, less demanding applications.
References
A. dinegoro and M. Winengko, (2020). “To Close or Not to Close: Assessing the Impact of Open API to the Bank Performance in Indonesia,” Buletin Riset Kebijakan Perbankan, vol. 2, no. 1, pp. 91–113.
A. R. Syed, (2021) “The Solution for XML External Entity Vulnerability in Web Application Security,” in Smart Intelligent Computing and Communication Technology, IOS Press, pp. 305–310.
C. González-Mora, I. Garrigós, J. Zubcoff, and J.-N. Mazón, (2020) “Model-based generation of web application programming interfaces to access open data,” Journal of Web Engineering, vol. 19, no. 7–8, pp. 1147–1172.
D. F. Sari, D. Kurniawati, and F. Muriyanto, (2021) “OPTIMASI SERVER MENGGUNAKAN LOAD BALANCING MICROSERVICE DOCKER PADA BOT TELEGRAM,” Journal of Innovation Research and Knowledge, vol. 1, no. 7, pp. 335–342.
D. Abdullah and M. Daud, (2023) “Pengembangan Sistem E-Learning Politeknik Negeri Lhokseumawe dengan Model Vark,” Jurnal Informasi dan Teknologi, pp. 222–228.
D. Wu, X. Jing, H. Zhang, X. Kong, Y. Xie, and Z. Huang, (2020) “Data‐driven approach to application programming interface documentation mining: A review,” Wiley Interdiscip Rev Data Min Knowl Discov, vol. 10, no. 5, p. e1369.
D. Saif, C.-H. Lung, and A. Matrawy, (2021) “An early benchmark of quality of experience between HTTP/2 and HTTP/3 using lighthouse,” in ICC 2021-IEEE International Conference on Communications, IEEE, pp. 1–6.
E. KEMER and R. SAMLI, (2019) “Performance comparison of scalable rest application programming interfaces in different platforms,” Comput Stand Interfaces, doi: 10.1016/j.csi.2019.05.001.
E. Lee, K. Kwon, and J. Yun, (2020) “Performance Measurement of GraphQL API in Home ESS Data Server,” in 2020 International Conference on Information and Communication Technology Convergence (ICTC), IEEE, pp. 1929–1931.
F. Effendy and B. Adhilaksono, (2021) “Performance comparison of web backend and database: A case study of node. js, Golang and MySQL, Mongo DB,” Recent Advances in Computer Science and Communications (Formerly: Recent Patents on Computer Science), vol. 14, no. 6, pp. 1955–1961.
G. Brito and M. T. Valente, (2020) “REST vs GraphQL: A controlled experiment,” in 2020 IEEE international conference on software architecture (ICSA), IEEE, pp. 81–91.
G. Mahajan, V. Attar, and S. Kalamkar, (2022) “Generation of JMeter scripts for performance testing of Moodle server,” in 2022 4th International Conference on Advances in Computing, Communication Control and Networking (ICAC3N), IEEE, pp. 2277–2281.
G. P. Tiwary, E. Stroulia, and A. Srivastava, (2021) “Compression of xml and json api responses,” IEEE Access, vol. 9, pp. 57426–57439.
I. Indrianto, (2023) “Performance Testing on Web Information System Using Apache Jmeter and Blazemeter,” Jurnal Ilmiah Ilmu Terapan Universitas Jambi, vol. 7, no. 2, pp. 138–149.
M. Cinci, C. C. Cerasi, and M. Gultekin, (2022) “Token Based Novel Approach to Web Service Security,” in 2022 International Conference on Electrical, Computer and Energy Technologies (ICECET), IEEE, pp. 1–6.
P. Belouin, S.-P. Chen, and S. Wang, (2021) “Designing an API-Based Protocol for the Interoperability of Textual Resources,” Digital Studies/Le champ numérique, vol. 11, no. 1, pp. 1–17.
R. P. Fhonna and M. Fadli, (2022) “SISTEM INFORMASI SURAT MASUK DAN SURAT KELUAR DI DINAS PENDIDIKAN KOTA BINJAI MENGGUNAKAN JAVA NETBEANS,” JTIK (Jurnal Teknik Informatika Kaputama), vol. 6, no. 1, pp. 32–40.
R. P. Pontarolli, J. A. Bigheti, L. B. R. de Sá, and E. P. Godoy, (2023) “Microservice-Oriented Architecture for Industry 4.0,” Eng, vol. 4, no. 2, pp. 1179–1197, doi: 10.3390/eng4020069.
R. P. Fhonna, Y. Afrillia, V. Ilhadi, J. Aqmal, and T. M. A. Afwan, (2022) “Pendeteksian masker secara real-time menggunakan tensorflow untuk pencegahan Covid-19 di Prodi Sistem Informasi Universitas Malikussaleh,” G-Tech: Jurnal Teknologi Terapan, vol. 6, no. 2, pp. 183–190.
S. K. Woody, D. Burdick, H. Lapp, and E. S. Huang, (2020) “Application programming interfaces for knowledge transfer and generation in the life sciences and healthcare,” NPJ Digit Med, vol. 3, no. 1, p. 24.
S. L. Vadlamani, B. Emdon, J. Arts, and O. Baysal, (2021) “Can graphql replace rest? a study of their efficiency and viability,” in 2021 IEEE/ACM 8th International Workshop on Software Engineering Research and Industrial Practice (SER&IP), IEEE, pp. 10–17.
S. Hasan and N. Muhammad, (2020) “Sistem Informasi Pembayaran Biaya Studi Berbasis Web Pada Politeknik Sains Dan Teknologi Wiratama Maluku Utara,” IJIS-Indonesian Journal on Information System, vol. 5, no. 1, pp. 44–55.
T. Rak, (2023) “Performance Evaluation of an API Stock Exchange Web System on Cloud Docker Containers,” Applied Sciences, vol. 13, no. 17, p. 9896.
V. Tiwari, S. Upadhyay, J. K. Goswami, and S. Agrawal, (2023) “Analytical Evaluation of Web Performance Testing Tools: Apache JMeter and SoapUI,” in 2023 IEEE 12th International Conference on Communication Systems and Network Technologies (CSNT), IEEE, pp. 519–523.
Copyright (c) 2024 Rizky Putra Fhonna, Yesy Afrillia, Veri Ilhadi, Abdul Halim Arif, Riko Ardiansyah Selian

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