TY - JOUR AU - Mikuła, Mateusz AU - Dzieńkowski, Mariusz PY - 2020/09/30 Y2 - 2024/03/29 TI - Comparison of REST and GraphQL web technology performance JF - Journal of Computer Sciences Institute JA - J. Comput. Sci. Inst. VL - 16 IS - 0 SE - Articles DO - 10.35784/jcsi.2077 UR - https://ph.pollub.pl/index.php/jcsi/article/view/2077 SP - 309-316 AB - <p>The aim of the study was to compare the performance of two data exchange styles commonly used in web applications, i.e. REST and GraphQL. For the purposes of the study two test applications were developed containing the same functionalities, one of which was REST and the other one was GraphQL. They were used for performance tests done with the help of the JMeter tool, during which measurements of the total processing time of requests and the volume of data downloaded and sent were performed. An experiment was developed that tested the basic operations found in most network services: display, add, update, and delete data. The most attention was devoted to the information display operation in the case of which load tests were done. On the basis of performed studies and obtained results, no differences in performance during the operation of adding, editing and deleting data by applications based on REST API and GraphQL were found. During the display operation under heavy load conditions and while downloading small portions of data, the service using GraphQL had a better performance. When downloading large portions of data, the REST-based service exhibited a higher performance.</p> ER -