With the ever increasing popularity of cloud computing and the use of microservice architecture, software development became faster and more accessible. As a result of this came an increase in interservice communication and a heap of new challenges and approaches arose that needed to be reevaluated. One of the things that needed reconsideration are the protocols that are used to make this communication possible. In this thesis we took a closer look at one of these protocols, namely the gRPC protocol. We researched how it works and what it has to offer, after which we became more familiar with it by implementing a simple service and seeing how it can be used inside the browser. We also compared it to the most widely used alternative, which is REST API. We wanted to test how gRPC would perform in a task it wasn't originally designed for, that being file transfer. Using the results of the comparison, we concluded when it is best to use which protocol and how viable it is to use gRPC within the browser.
|