Performance Comparison of Programming Interfaces for Microservices Architecture

Abstract:

Programming interfaces have been developed in response to the demand for information exchange between network applications on a local or global level. As this area of programming has developed, more and more different programming interfaces have begun to be invented targeting the appropriate cases of communication. Most programming interfaces are based on the same communication protocols such as http, for example. Programming interfaces perform their function at the application layer level, and the main differences between them are in the way they use the communication protocols. This paper presents the results of performance testing of three selected programming interfaces REST API, GraphQL and gRPC in the application of systems with microservices architecture, which is one of the most popular architectural models used today for services deployed on the Internet. The research was performed in a prepared test environment that simulates the functioning of a web service using microservices with the selected interfaces in the backend.