esc

Type at least two characters to start searching.

↑↓ select↵ openesc close

Share

Export Citation

APA
MLA
Chicago
Harvard
Vancouver
BIBTEX
RIS
Universitas Hasanuddin
Research output:Contribution to journal›Article›peer-review

Evaluating graphql and rest api services performance in a massive and intensive accessible information system

Lawi A.

Computers

Q1
Published: 2021Citations: 36

Abstract

Currently, most middleware application developers have two choices when designing or implementing API services: They can either stick with REST or explore the emerging GraphQL technology. Although REST is widely considered the standard method for API development, GraphQL is believed to overcome the main drawbacks of REST, especially data fetching issues. Yet, doubts remain as there are no experimental studies with convincing results to evaluate the performance of the two services. In this paper, we propose a research methodology to evaluate the performance of REST and GraphQL API services, which includes two main contributions. The first contribution is that the performance evaluation of the two services is conducted in the real operation of a massive and intensively accessible management information system. The second contribution is the fair and independent performance evaluation results obtained for both API services. The performance evaluation was studied using basic measures of QoS, including response time, throughput, CPU load, and memory usage. The results show that REST is still faster in response time and throughput, while GraphQL is very efficient in resource utilization, i.e., CPU load and 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 is frequently accessed called by multiple requests.

Access to Document

10.3390/computers10110138

Other files and links

Fingerprint

Computer scienceSciences
Rest (music)Sciences
Service (business)Sciences
Application programming interfaceSciences
Interface (matter)Sciences
Middleware (distributed applications)Sciences
SynchronizingSciences
ThroughputSciences
World Wide WebSciences
DatabaseSciences
Operating systemSciences
TelecommunicationsSciences
Maximum bubble pressure methodSciences
CardiologySciences
WirelessSciences
BubbleSciences
Transmission (telecommunications)Sciences
EconomySciences
MedicineSciences
EconomicsSciences