Título: GraphQL or REST for Mobile Applications?

Autor(es): QUIÑA MERA JOSE ANTONIO, ANTONIO RUIZ-CORTÉS, JOSÉ MARÍA GARCÍA, PABLO FERNÁNDEZ-MONTES, VEGA PAÚL

Fecha de publicación: 25-nov-2022

Resumen: Currently, GraphQL has emerged as a query language for developing web APIs that propose to improve several data access problems of RESTful APIs. The present paper aims to study the effects on software quality of APIs developed with REST and GraphQL architectures consumed from mobile applications. For this, we design a computational experiment that compares the quality characteristic “performance efficiency" of mobile application consumption to three APIs; one GraphQL API and two REST APIs (one exposes complex queries on several endpoints, the other exposes complex queries on a single endpoint). The results show that the software quality of the API developed with GraphQL architecture is higher than that developed with REST architecture.

Palabras clave: GraphQL API, REST API, Quality evaluation, Mobile application

DOI: 10.1007/978-3-031-20319-0_2

ISSN: 18650929

Tipo publicación: Artículo

en_USEN
Scroll to Top