Institutional Repository of Vilnius University
Duomenų konsistencijos ir sinchronizavimo iššūkiai mikroservisuose: teorija ir praktiniai sprendimai /
Abstract
dc:descriptionMicroservice 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.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD239030501&prefLang=en_US