Back to search

Institutional Repository of Vilnius University

Duomenų konsistencijos ir sinchronizavimo iššūkiai mikroservisuose: teorija ir praktiniai sprendimai /

Abstract

dc:description

Microservice architecture offers unmatched flexibility and scalability, but it makes system-wide data consistency harder to preserve because each service controls its own database. This bachelor thesis investigates how four consistency approaches – the Saga pattern, Event Sourcing, the Transactional Outbox, and a novel Ephemeral Saga Orchestrator (ESO) – mitigate partial failures, concurrency conflicts and distributed-transaction overhead. The study adopts the principles of Domain-Driven Design (DDD) to frame service boundaries and aggregate rules. A systematic review of academic and industrial sources reveals the strengths and limitations of each pattern in DDD-oriented systems. The same patterns are then implemented in an Order–Inventory prototype and executed under identical Kubernetes conditions; a controlled load test compares throughput, fault tolerance and data integrity. ESO eliminates all inconsistencies observed in a choreographed Saga scenario without a measurable drop in performance. The resulting design guidelines help architects choose an appropriate consistency strategy based on business-process criticality, failure tolerance and team expertise, while outlining how to operate reliable, DDD-aligned microservice systems that maintain data integrity as business workloads scale.

Degree

thesis:*
Grantor dc:publisher
Institutional Repository of Vilnius University
Year dc:date
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Jankovski, Olgierd,

Rights

dc:rights
Statement dc:rights
  • info:eu-repo/semantics/openAccess
Language dc:language
lit

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Vilnius University
Base URL
epublications.vu.lt/oai
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Jankovski, Olgierd,. Duomenų konsistencijos ir sinchronizavimo iššūkiai mikroservisuose: teorija ir praktiniai sprendimai /. Institutional Repository of Vilnius University, 2025. https://repository.vu.lt/VU:ELABAETD239030501&prefLang=en_US