izpis_h1_title_alt

Optimizacija gradnje javanskih arhivov in slik Docker v arhitekturi mikrostoritev
ID PAVIŠIČ, ALJAŽ (Author), ID Jurič, Matjaž Branko (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (921,27 KB)
MD5: 7D3563C70E83EEB1ECCF205D6EA3F376

Abstract
Trenutni pristop pakiranja mikrostoritev, ki ga ponuja ogrodje KumuluzEE, je pakiranje v debeli JAR (ang. uber JAR ali fat JAR). Ta aplikacijsko kodo in vse potrebne odvisnosti združi v eno datoteko, kar sicer zagotavlja visoko prenosljivost, vendar pa za to žrtvuje optimalnost gradnje slik pri virtualizaciji. Združenost v eno datoteko zahteva postavitev celotne mikrostoritve v en sloj slike Docker, kar pa ob vsaki spremembi aplikacijske kode zahteva ponovno gradnjo celotnega sloja. Ker se odvisnosti ne spreminjajo pogosto, pa vendar predstavljajo večino prostora, ki ga mikrostoritev zaseda, je ponovno kopiranje odvisnosti nepotrebno potratno. V tem delu smo obstoječe možnosti pakiranja mikrostoritev, ki jih ponuja ogrodje KumuluzEE, razširili z novim tipom pametni JAR (ang. smart JAR), ki ločuje aplikacijsko kodo od odvisnosti in s tem pohitri ponovno gradnjo slik Docker. Poleg tega smo ogrodju dodali tudi funkcionalnost avtomatskega generiranja datotek Dockerfile.

Language:Slovenian
Keywords:KumuluzEE, ogrodje, Docker, vsebnik, mikrostoritev, JAR
Work type:Bachelor thesis/paper
Typology:2.11 - Undergraduate Thesis
Organization:FRI - Faculty of Computer and Information Science
Year:2021
PID:20.500.12556/RUL-127047 This link opens in a new window
COBISS.SI-ID:63320323 This link opens in a new window
Publication date in RUL:14.05.2021
Views:748
Downloads:104
Metadata:XML RDF-CHPDL DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Optimization of Java archive and Docker image building in microservices architecture
Abstract:
The current approach to packaging microservices offered by the KumuluzEE framework is packaging into an uber JAR. This type combines the application code and all dependencies into a single file, which guarantees high portability but sacrifices optimal building of images for virtualization. The unification into a single file demands the entire microservice to be put into a single image layer, which requires a complete rebuild of that layer upon any change to the application code. Since dependencies rarely change but still represent the majority of the space taken up by the microservice, copying them repeatedly is unnecessarily wasteful. In this thesis, we expanded on the packaging types offered by the KumuluzEE framework by introducing a new smart JAR packaging type, which separates the application code from the dependencies and thus speeds up the rebuilding of Docker images. We also expanded the framework with the functionality of automated Dockerfile generation.

Keywords:KumuluzEE, framework, Docker, container, microservice, JAR

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back