{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,30]],"date-time":"2026-03-30T15:57:24Z","timestamp":1774886244241,"version":"3.50.1"},"reference-count":24,"publisher":"MDPI AG","issue":"11","license":[{"start":{"date-parts":[[2021,10,27]],"date-time":"2021-10-27T00:00:00Z","timestamp":1635292800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>Currently, most middleware application developers have two choices when designing or implementing Application Programming Interface (API) services; i.e., they can either stick with Representational State Transfer (REST) or explore the emerging GraphQL technology. Although REST is widely regarded as the standard method for API development, GraphQL is believed to be revolutionary in overcoming the main drawbacks of REST, especially data-fetching issues. Nevertheless, doubts still remain, as there are no investigations with convincing results in evaluating the performance of the two services. This paper proposes a new research methodology to evaluate the performance of REST and GraphQL API services with two main ideas as novelties. The first novel method is the evaluation of the two services is performed on the real ongoing operation of the management information system, where massive and intensive query transactions take place on a complex database with many relationships. The second is the fair and independent performance evaluation results obtained by distributing client requests and synchronizing the service responses on the two virtually separated parallel execution paths for each API service, respectively. The performance evaluation was investigated using basic measures of QoS (Quality of Services), i.e., response time, throughput, CPU load, and memory usage. We use the term efficiency in comparing the evaluation results to capture differences in their performance measures. The statistical hypothesis parameters test using the two-tails paired t-test, and boxplot visualization was also given to confirm the significance of the comparison results. The results showed REST is still faster up to 50.50% in response time and 37.16% for throughput, while GraphQL is very efficient in resource utilization, i.e., 37.26% for CPU load and 39.74% for memory utilization. Therefore, GraphQL is the right choice when data requirements change frequently, and resource utilization is the most important consideration. REST is used when some data are frequently accessed and called by multiple requests.<\/jats:p>","DOI":"10.3390\/computers10110138","type":"journal-article","created":{"date-parts":[[2021,10,27]],"date-time":"2021-10-27T22:00:23Z","timestamp":1635372023000},"page":"138","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":22,"title":["Evaluating GraphQL and REST API Services Performance in a Massive and Intensive Accessible Information System"],"prefix":"10.3390","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1023-6925","authenticated-orcid":false,"given":"Armin","family":"Lawi","sequence":"first","affiliation":[{"name":"Department of Information Systems, Hasanuddin University, Makassar 90245, Indonesia"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6805-6463","authenticated-orcid":false,"given":"Benny L. E.","family":"Panggabean","sequence":"additional","affiliation":[{"name":"Department of Computer Science, Pancasakti University, Makassar 90132, Indonesia"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5818-2845","authenticated-orcid":false,"given":"Takaichi","family":"Yoshida","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Networks, Kyushu Institute of Technology, Iizuka 820-8502, Japan"}]}],"member":"1968","published-online":{"date-parts":[[2021,10,27]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Brito, G., and Valente, M.T. (2020, January 16\u201320). REST vs GraphQL: A Controlled Experiment. Proceedings of the 2020 IEEE International Conference on Software Architecture (ICSA), Salvador, Brazil.","DOI":"10.1109\/ICSA47634.2020.00016"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Vadlamani, S.L., Emdon, B., Arts, J., and Baysal, O. (2021, January 4). Can GraphQL Replace REST? A Study of Their Efficiency and Viability. Proceedings of the 2021 IEEE\/ACM 8th International Workshop on Software Engineering Research and Industrial Practice (SER&IP), Madrid, Spain.","DOI":"10.1109\/SER-IP52554.2021.00009"},{"key":"ref_3","unstructured":"Eizinger, T. (2017). API Design in Distributed Systems: A Comparison between GraphQL and REST. [Master\u2019s Thesis, University of Applied Sciences Technikum Wien]. Available online: https:\/\/eizinger.io\/assets\/Master-Thesis.pdf."},{"key":"ref_4","unstructured":"Ghebremicael, E.S. (2017). Transformation of REST API to GraphQL for OpenTOSCA. [Master\u2019s Thesis, Universit\u00e4t Stuttgart]."},{"key":"ref_5","unstructured":"Fielding, R.T. (2000). Architectural Styles and the Design of Network-Based Software Architectures. [Ph.D. Thesis, University California at Irvine]. Available online: https:\/\/www.ics.uci.edu\/~fielding\/pubs\/dissertation\/fielding_dissertation.pdf."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Lyu, S. (2021). REST APIs. Practical Rust Web Projects, Apress. [1st ed.].","DOI":"10.1007\/978-1-4842-6589-5"},{"key":"ref_7","unstructured":"Altan, Z. (2020). A General Overview of RESTful Web Services. Applications and Approaches to Object-Oriented Software Design: Emerging Research and Opportunities, IGI Global. [1st ed.]."},{"key":"ref_8","unstructured":"Facebook Inc (2021, March 09). GraphQL Specification (Draft). Available online: http:\/\/spec.graphql.org\/July2015\/."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Jamil, H.M. (2012, January 1\u20135). Design of declarative graph query languages: On the choice between value, pattern and object based representations for graphs. Proceedings of the IEEE 28th International Conference on Data Engineering Workshops, Arlington, VA, USA.","DOI":"10.1109\/ICDEW.2012.49"},{"key":"ref_10","unstructured":"Welch, N. (2019, January 25\u201327). An Introduction to GraphQL. Proceedings of the SREcon19Americas, USENIX Association, Brooklyn, NY, USA. Available online: https:\/\/www.usenix.org\/conference\/srecon19americas\/presentation\/welch."},{"key":"ref_11","unstructured":"Byron, L. (2021, March 09). GraphQL: A Data Query Language. FACEBOOK Engineering, Core Data, Developer Tools. Available online: https:\/\/engineering.fb.com\/2015\/09\/14\/core-data\/graphql-a-data-query-language\/."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"309","DOI":"10.35784\/jcsi.2077","article-title":"Comparison of REST and GraphQL web technology performance","volume":"16","year":"2020","journal-title":"J. Comput. Sci. Inst."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Seabra, M., Naz\u00e1rio, M.F., and Pinto, G. (2019, January 23\u201327). REST or GraphQL? A Performance Comparative Study. Proceedings of the ACM XIII Brazilian Symposium on Software Components, Architectures and Reuse (SBCARS), Salvador, Brazil.","DOI":"10.1145\/3357141.3357149"},{"key":"ref_14","unstructured":"Vesi\u0107, M., and Nenad Koji\u0107, N. (2020, January 8). Comparative Analysis of Web Application Performance in Case of Using REST versus GraphQL. Proceedings of the Fourth International Scientific Conference on Recent Advances in Information Technology, Tourism, Economics, Management and Agriculture (ITEMA), Online-Virtual. Available online: https:\/\/www.itema-conference.com\/wp-content\/uploads\/2021\/03\/0_Itema-2020-Conference-Proceedings_Draft.pdf#page=23."},{"key":"ref_15","unstructured":"Gustavsson, K., and Stenlund, E. (2016). Efficient Data Communication between a Webclient and a Cloud Environment. [Master\u2019s Thesis, Dept. Electrical and Info. Technology, Faculty of Engineering, LTH, Lund University]. Available online: https:\/\/lup.lub.lu.se\/luur\/download?func=downloadFile&recordOId=8885754&fileOId=8885760."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Hartina, D.A., Lawi, A., and Panggabean, B.L.E. (2018, January 6). Performance analysis of GraphQL and REST in SIM LP2M of the Hasanuddin University. Proceedings of the IEEE 2nd East Indonesia Conf. on Computer and Information Technology (EIConCIT), Makassar, Indonesia.","DOI":"10.1109\/EIConCIT.2018.8878524"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"206","DOI":"10.5755\/j01.itc.49.2.23757","article-title":"An API-first methodology for designing a microservice-based Backend as a Service platform","volume":"49","author":"Dudjak","year":"2020","journal-title":"Inf. Technol. Control"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"9","DOI":"10.1016\/j.dss.2004.04.008","article-title":"Developing web services choreography standards\u2014The case of REST vs. SOAP","volume":"40","author":"Muehlen","year":"2005","journal-title":"Decis. Support Syst."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"59","DOI":"10.1007\/978-3-642-35585-1_8","article-title":"A performance analysis of RESTful open API information system","volume":"Volume 7709","author":"Kim","year":"2012","journal-title":"Proceedings of the International Conference on Future Generation Information Technology (FGIT 2012)"},{"key":"ref_20","unstructured":"Cederlund, M. (2016). Performance of Frameworks for Declarative Data Fetching: An Evaluation of Falcor and Relay+ GraphQL. [Master\u2019s Thesis, KTH, School of Information and Communication Technology (ICT)]. Available online: https:\/\/www.diva-portal.org\/smash\/record.jsf?pid=diva2%3A1045900&dswid=9212."},{"key":"ref_21","unstructured":"Hartig, O., and P\u00e9rez, J. (2017, January 7\u20139). An initial analysis of Facebook\u2019s GraphQL language. Proceedings of the 11th Alberto Mendelzon International Workshop on Foundations of Data Management and the Web, Montevideo, Uruguay. Available online: http:\/\/repositorio.uchile.cl\/handle\/2250\/169110."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Wittern, E., Cha, A., Davis, J.C., Baudart, G., and Mandel, L. (2019). An Empirical Study of GraphQL Schemas. Service-Oriented Computing, Springer. ICSOC 2019. Lecture Notes in Computer Science.","DOI":"10.1007\/978-3-030-33702-5_1"},{"key":"ref_23","unstructured":"Helgason, A.F. (2017). Performance Analysis of Web Services: Comparison between RESTful & GraphQL Web Services. [Master\u2019s Thesis, School of Informatics, University of Sk\u00f6vde]. Available online: https:\/\/www.diva-portal.org\/smash\/record.jsf?pid=diva2%3A1107850&dswid=8398."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Cha, A., Wittern, E., Baudart, G., Davis, J.C., Mandel, L., and Laredo, J.A. (2020, January 4\u20139). A principled approach to GraphQL query cost analysis. Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Online.","DOI":"10.1145\/3368089.3409670"}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/10\/11\/138\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T07:24:38Z","timestamp":1760167478000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/10\/11\/138"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,10,27]]},"references-count":24,"journal-issue":{"issue":"11","published-online":{"date-parts":[[2021,11]]}},"alternative-id":["computers10110138"],"URL":"https:\/\/doi.org\/10.3390\/computers10110138","relation":{"has-preprint":[{"id-type":"doi","id":"10.20944\/preprints202109.0386.v1","asserted-by":"object"}]},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,10,27]]}}}