liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Dependency-Based Orchestration of a Multi-Version Microservice RAN Application: Beroendebaserad orkestrering av en RAN-applikation med fleraversioner av mikrotjänster
Linköping University, Department of Computer and Information Science.
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

This thesis is carried out in collaboration with Ericsson AB and proceeds from a conceptual architecture of a multi-version microservices RAN application developed by Ericsson. The main focus lies in finding an automated strategy for deploying and maintaining multiple versions of microservices without causing interruptions or failures. A vital part consists of implementing and evaluating different algorithms for dependency-based orchestration. More specifically, given the currently deployed microservices, the presently available microservices and their dependencies, and a set of external communication requirements, this algorithm should find an evolution plan consisting of deployment steps to perform such that all constraints are satisfied while staying below a resource quota. Each deployment step in turn consists of deployment operations (deploy and delete) of microservices. Furthermore, the thesis investigates the possibility of using the Kubernetes operator pattern to automatically execute the deployment operations found by the dependency-based orchestration algorithm. 

Four algorithms for dependency-based orchestration are developed: two Dependency Resolver and Scheduler (DRS) algorithms and two Binate Covering Problem (BCP) solvers combined with a scheduling algorithm. Initially, two DRS algorithms are presented to explore the search space while systematically constructing a search tree. The first one, the Ideal DRS (IDRS), is a baseline that explores all possible evolution plans emanating from the current deployment. The second one, DRS with Stratified Pruning (DRS-SP), utilizes Stratified Sampling with Pruning to reduce the complexity of the search space. Secondarily, the microservice dependency resolution problem is modeled as a Binate Covering Problem (BCP) using propositional logic. Two BCP solvers are implemented to solve the dependency resolution problem: one that utilizes Branch and Bound (BnB) resolution and one greedy-based approach. The output of the BCP solvers is used as input to a scheduling algorithm presented in this thesis that finds the evolution plan to ensure the in-service upgrade, yielding two algorithms to solve the dependency and scheduling problem: BCP BnB and BCP Greedy. 

201 problem instances are generated from actual data on how the interfaces have been updated historically for testing purposes. The Kubernetes operator pattern is implemented using custom resources to manage the application and its components. The Kopf framework is used to create event listeners who can listen and react to the creation of custom resources. The operator uses the specification as input to one of the dependency-based orchestration algorithms and the output as instructions to execute the proposed evolution plan. The algorithms are evaluated in terms of the following: Response time, i.e., how fast an evolution plan is found; success rate, i.e., whether or not a valid solution is found; Resource efficiency, i.e., the total CPU usage of the final deployment once all deployment steps have been executed; Update efficiency, i.e., the number of deployment steps in the evolution plan. Ultimately, BCP BnB is proposed to solve the stated dependency and scheduling problem as it shows the most promising results when considering response time, success rate, and resulting CPU usage. The scheduling component of the algorithm used in this thesis is developed as part of the research work. Combined with established methods for solving BCP (branch and bound), this creates a solution tailored to the specific problem outlined in the thesis. However, further research should be applied to improve the BnB resolution further.

Place, publisher, year, edition, pages
2024. , p. 72
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-208412ISRN: LIU-IDA/LITH-EX-A--24/085--SEOAI: oai:DiVA.org:liu-208412DiVA, id: diva2:1906848
External cooperation
Telefonaktiebolaget LM Ericsson
Subject / course
Computer Engineering
Presentation
2024-09-04, Donald Knuth, B entry 29, upper floor, Linköping University, Linköping, 16:58 (English)
Supervisors
Examiners
Available from: 2024-12-12 Created: 2024-10-19 Last updated: 2024-12-12Bibliographically approved

Open Access in DiVA

fulltext(1513 kB)561 downloads
File information
File name FULLTEXT01.pdfFile size 1513 kBChecksum SHA-512
9a30b2ff21d97e656cc29506a23b6a1d33aa4b76d10a66a77cbd46e99fbef2dd4a1b73e52d40ff94cd70ebba183465997af4d38b463491960d1a71311c2ed15d
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Witt, Emma
By organisation
Department of Computer and Information Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 562 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 745 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf