Master's thesis

Developing the guidelines for migration from RESTful microservices to gRPC

Bc. Michal Štefanič
Abstract

V práci popisujem koncept microservices architektúry a dva hlavné sposôby komunikácie v tomto druhu architektúry - REST API a gRPC. Popisujem výhody a nevýhody oboch technológii, a porovnávam ich medzi sebou. Následne predstavujem rozhodovací proces, ktorý má firmám pomôcť rozhodnúť sa, či je gRPC vhodná technológia pre ich architektúru a či môže poskytnút významnejšie vylepšenia v porovnaní s REST …more

Abstract

In this thesis, I describe the concept of microservices architecture and two main types of communication in this architecture - REST API and gRPC. I describe the advantages and disadvantages of both technologies and compare them with each other. Then I present a decision process to help companies decide whether gRPC is a suitable technology for their architecture and whether it can provide significant …more

Thesis description
With the rising popularity of microservice architecture, Google decided to revive the "Remote procedure call" (RPC) concept to facilitate effective communication between single services and developed their own framework (gRPC) for RPC service communication. gRPC became quickly popular and many famous companies as Nextflix, Microsoft, Slack integrated it into their systems. However, there is not a clear, step-by-step guide on when and how to migrate your services to gRPC architecture. Therefore, the goal of this thesis is to explain differences between RESTful and gRPC concepts, detect when it is effective to migrate to gRPC, and describe migration procedure in single steps without affecting business logic. For validation of the proposed guidelines, the thesis applies the gRPC architecture to one well-known online travel agency Kiwi.com, by migrating some of their microservices to gRPC with the proposed guidelines.
The thesis has been checked:
19/5/2021 13:28, RNDr. Josef Spurný, Ph.D., UČO 274152
Language used
English English
Defence date
25/6/2021
The thesis was defended successfully

Supervisor

RNDr. Josef Spurný, Ph.D., UČO 274152
KPSK FI MU

Reader

doc. Bruno Rossi, PhD, UČO 232464
KPSK FI MU

Masaryk University Faculty of Informatics
Programme
Applied Informatics
  • Přidání souboru

    Soubor nebo složku lze nahrát pomocí tlačítka Přidat.
  • Další operace se soubory

    Podrobnosti lze zjistit označením příslušného řádku.
  • Pohled pro experty

    Pro častou práci je možné zvolit režim Více možností.
  • Vyhledávání souborů

    Vyhledávaný výraz můžete zadat přímo do adresního řádku.
  • Rychlý přístup k souborům

    Pomocí funkce Nedávné je možné se rychle vrátit k právě prohlíženým souborům. Oblíbené soubory je také možné označit Hvězdičkou.