Diplomová práce

Optimization of Memory Footprint of Microservices

Juraj Samuel Saloň
Anotace

Budeme hovoriť o pamäťovej stope mikroslužieb a jej optimalizácii vo firme GoodData Corporation. Optimalizácia pamäte mikroslužieb má dva hlavné dôvody. Primárnym dôvodom je ušetriť finančné zdroje. Ďalším je vylepšenie možnosti behu systému zloženého z mikroslužieb v lokálnom vývojárskom prostredí. Popisujeme implementačné a nasadzovacie technológie, ako sú napríklad Kotlin, Spring a Kubernetes, …více

Abstract

We will discuss the memory footprint of microservices and their optimization in GoodData Corporation. Memory optimization of microservices has two main reasons. The primary reason is to save financial resources. The other one is to improve the possibility of running a system consisting of microservices in a local development environment. We described the implementation and deployment technologies …více

Zadání práce
A typical microservice exposes its functionality as REST or gRPC interface and communicates with other services via a messaging framework, usually the publisher/subscriber way. The implementation is based on a programming framework like Spring Boot with Tomcat or Netty server implementation. The memory footprint is then around 200-300 MB, and the startup time is in seconds. These lead to limitations in local development, where a developer may not be able to start all necessary services, and also in production, where the cloud providers charge more for additional memory.
The thesis goal is to propose solutions to cut down memory footprint. Possible ways of doing so cover: joining more microservices into a single deployment, use of other Java VM, e.g., use of other implementations of java development kit or compilation in native code with GraalVM, and optimizing the programming framework itself, e.g., optimization of direct buffers and dependency injection.
This thesis is done in cooperation with GoodData.
Práce zkontrolována:
17. 5. 2023 12:18, doc. RNDr. Vlastislav Dohnal, Ph.D., učo 2952
Jazyk práce
angličtina angličtina
Termín obhajoby
19. 6. 2023
Práce byla úspěšně obhájena

Vedoucí

doc. RNDr. Vlastislav Dohnal, Ph.D., učo 2952
KSUZD FI MU

Oponent

RNDr. Ondřej Štumpf
GoodData

Konzultant

Mgr. Jiří Mikulášek
abs FI MU

Masarykova univerzita Fakulta informatiky
Studijní program
Plán
Nasazení a provoz softwarových systémů
  • 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.