Files
Download Full Text (399 KB)
Author ORCID Identifier
0009-0000-2722-9452
Publisher
Technological University Dublin
Description
The adoption of microservices architecture has experienced significant growth, driven by its appeal in terms of modularity, scalability, and deployment ease. However, this proliferation of microservices has intensified the demand for efficient data exchange among them. While REST API has long been the standard protocol for microservices communication, its limitations in flexibility and performance have spurred the ascent of GraphQL as a more efficient alternative, as highlighted by studies comparing their performance. As the number of microservices continues to rise, traditional methods like REST APIs prove challenging, leading to issues such as over-fetching or under-fetching of data. GraphQL addresses these challenges by allowing each microservice to define its schema, thereby simplifying data integration and reducing coordination efforts between teams. In addition to its flexibility, GraphQL contributes to enhanced performance by empowering clients to specify their precise data requirements, resulting in a reduction of unnecessary requests and improved response times. Despite these advantages, the integration of GraphQL with microservices presents its own set of challenges, including ensuring data consistency across services and requiring upfront planning for schema and resolver functions. This research paper aims to delve into the integration of GraphQL with microservices, conducting a comparative performance analysis with REST API in an on-premises environment.
Publication Date
2024-1
City
Dublin
Disciplines
Computer and Systems Architecture
Keywords
REST; API; GraphQL; cloud
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-Share Alike 4.0 International License.
Comments
Poster Symposium in Software Solutions Architecture 2024