Loading

Título: Efficiency study of GraphQL and REST Microservices in Docker containers: A computational experiment

Autor(es): GUEVARA VEGA CATHY PAMELA, GUITARRA DE LA CRUZ ZAMIA MARLENE, QUIÑA MERA JOSE ANTONIO

Fecha de publicación: 15-feb-2025

Resumen: Introduction: In the constant evolution of technology, the need to implement new services in computer systems is crucial. However, the integration of these services presents problems and certain challenges in the deployment of applications. Some technologies, such as Docker and microservices architectures, are alternatives to alleviate such integration. Objective: To compare the performance efficiency of the Docker architecture and the localhost environment by validating the "response time" metric defined in ISO/IEC 25010 and ISO/IEC 25023. Method: A computational experiment was conducted following the Wholin methodology to compare application performance efficiency. The Backend application was deployed inside Docker containers through the construction of PostgreSQL images, Nginx, and the configuration of the Dockerfile. Results: The experiment yielded significant findings. The average response time of the Docker architecture was notably lower than that of the localhost environment. Furthermore, GraphQL demonstrated superior performance when compared to REST APIs. Conclusion: The results of our study validate the efficiency of the Docker-based architecture for deploying services, particularly when using GraphQL. This underscores Docker's ability to enhance application performance, as well as the integration and deployment of microservices.

Palabras clave: Microservices, GraphQL, REST APIs, computational experiment, Docker

DOI: https://doi.org/10.56294/dm2025199

ISSN: 29534917

Tipo publicación: Artículo

Scroll to Top