Institutional Repository of Vilnius University
Microservices orchestration and choreography /
Abstract
dc:descriptionThis thesis compares two coordination styles for distributed microservices: orchestration and choreography. Using an e-commerce order workflow, which consists of order, payment, inventory, and shipping. Both methods implement the same rules with the same tools: .NET, MassTransit, RabbitMQ, and the same reliability features: retries, timeouts, compensations, idempotency, dead-letter queues. OpenTelemetry is used to add tracing, OTel Collector to send traces to Jaeger, and metrics to Prometheus. In the evaluation, an average and p50/p95/p99 end-to-end latency, throughput, which is completed orders per second, retries and redeliveries, compensation and timeout rates, and MTTR using a sliding window with K=3 are reported. The study keeps all conditions the same. What changes is only the coordination style and exercises like happy path and fault scenarios. An evolvability experiment inserts a fraud check service before payment to compare the change impact. Orchestration is expected to put control and compensation logic in one place. This will make troubleshooting easier and result in more stable performance when there are problems. It'll also mean that those issues are fixed faster. Median latency and throughput should be similar. Choreography is expected to keep services independent, and require less changes to accept the fraud check service addition. However, it'll need stricter rules and better monitoring to manage events and timing. The final recommendations will depend on the results of the analysis.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Stasiškis, Mantas,
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- eng
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD277691343&prefLang=en_US