This article presents a comparative performance comparison of three technologies commonly used to implement web programming interfaces: GraphQL, gRPC and Thrift. For the purposes of this study, three applications were developed, each utilizing one of the selected technologies. The applications were tested using JMeter. The execution time and data volume returned during operations performed on a relational database were measured. The results showed that gRPC was the fastest choice for the shortest execution time for large-scale read operations, while GraphQL and Thrift were faster for operations transporting small volumes of data.
References
[1] What is an API (Application Programming Interface)?, https://www.ibm.com/think/topics/api, [12.09.2025].
[2] R. T. Fielding, Architectural Styles and the Design of Network-based Software Architectures, PhD dissertation, University of California, Irvine, 2000.
[3] SOAP Version 1.2 Part 1: Messaging Framework (Second Edition), W3C Recommendation, https://www.w3.org/TR/soap12-part1, [30.10.2025].
[4] Apache Thrift, https://thrift.apache.org, [12.09.2025].
[5] Introduction to gRPC, https://grpc.io/docs/what-is-grpc/introduction, [12.09.2025].
[6] The query language for modern APIs, https://graphql.org/, [12.09.2025].
[7] P. Margański, B. Pańczyk, REST and GraphQL comparative analysis, Journal of Computer Sciences Institute 19 (2021) 89–94, https://doi.org/10.35784/jcsi.2473.
[8] C. Oggier, How fast GraphQL is compared to REST APIs, Bachelor thesis, Haaga-Helia University of Applied Sciences, Helsinki, 2020.
[9] G. S. M. Diyasa, G. S. Budiwitjaksono, H. A. Ma’rufi, I. A. W. Sampurno, Comparative Analysis of Rest and GraphQL Technology on Nodejs-Based Api Development, Nusantara Science and Technology Proceedings (2021) 43–52, https://doi.org/10.11594/nstp.2021.0908.
[10] M. Śliwa, B. Pańczyk, Performance comparison of programming interfaces on the example of REST API, GraphQL and gRPC, Journal of Computer Sciences Institute 21 (2021) 356–361, https://doi.org/10.35784/jcsi.2744.
[11] S. Goriparthi, Streamlining API development: A comparative analysis of GraphQL and restful web services, International Journal of Data Analytics Research and Development 2(1) (2024) 59–71, https://doi.org/10.34218/IJDARD.
[12] G. Brito, M. T. Valente, REST vs GraphQL: A Controlled Experiment, In IEEE International Conference on Software Architecture (2020) 81–91, https://doi.org/10.48550/arXiv.2003.04761.
[13] A. Ambasht, API Integration using GraphQL, International Journal of Computer Trends and Technology (2023) 28–33, https://doi.org/10.14445/22312803/IJCTT-V71I8P104.
[14] O. Hartig, J. Pérez, Semantics and Complexity of GraphQL, In International World Wide Web Conferences Steering Committee, Geneva, Switzerland (2018) 1155–1164, https://doi.org/10.1145/3178876.3186014.
[15] M. Niswar, R. Safruddin, A. Bustamin, I. Aswad, Performance evaluation of microservices communication with REST, GraphQL, and gRPC, International Journal of Electronics and Telecommunications 70(2) (2024) 429 –436, https://doi.org/10.24425/ijet.2024.149562.
[16] F. Aydemir, F. Başçiftçi, Performance and availability analysis of API design techniques for API gateways, Arabian Journal for Science 50 (2025) 11485–11498, https://doi.org/10.1007/s13369-024-09474-9.
[17] Ł. Kamiński, M. Kozłowski, D. Sporysz, K. Wolska, P. Zaniewski, R. Roszczyk, Comparative review of selected Internet communication protocols, Foundations of Computing and Decision Sciences 49 (2023) 39–56, https://doi.org/10.2478/fcds-2023-0003.
[18] M. Cederlund, Performance of frameworks for declarative data fetching: An evaluation of Falcor and Relay+GraphQL, Master thesis, Skolan för Informations, Stockholm, 2016.
[19] M. Vesić, N. Kojić, Comparative analysis of web application performance in case of using REST vs GraphQL, In 4th International Scientific Conference on Recent Advances in Information Technology, Tourism, Economics, Management and Agriculture – ITEMA (2020), https://doi.org/10.31410/ITEMA.2020.17.
[20] A. Lawi, B. L. E. Panggabean, T. Yoshida, Evaluating GraphQL and REST API services performance in a massive and intensive accessible information system, Computers 10(11) (2021) 138, https://doi.org/10.3390/computers10110138.
[21] M. Raghav, The future of payment systems: Transitioning from REST to Grpc for improved efficiency and security, Zenodo (2023), https://doi.org/10.5281/zenodo.7765404.
[22] JMeter, https://jmeter.apache.org, [30.10.2025].