EUVIMEDEUVIMED entdecken
Crossref

Distributed Transactions Coordinator for .net Microservices: A Declarative Framework Approach with Source Generation

Danylo Kiral, Viktor Hryhorovych

Vìsnik Nacìonalʹnogo unìversitetu "Lʹvìvsʹka polìtehnìka". Serìâ Ìnformacìjnì sistemi ta merežì · 22.06.2026 · 19 · 1-17

DOI: 10.23939/sisn2026.19.001 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Vìsnik Nacìonalʹnogo unìversitetu "Lʹvìvsʹka polìtehnìka". Serìâ Ìnformacìjnì sistemi ta merežì, online erschienen am 17.05.2026. Verfasst von Danylo Kiral und 1 weiteren Autor:innen. Die Arbeit nennt 44 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This paper presents a proof-of-concept framework for distributed transaction coordination in .NET microservices using source generation to address container startup performance challenges. Source generation is a .NET compiler feature that generates coordination code at build time, eliminating runtime reflection overhead. The research employs Roslyn incremental source generators to implement saga-based transaction coordination, where developers specify transactions declaratively through custom attributes. The experimental evaluation compares the prototype against NServiceBus and MassTransit using an e-commerce order processing workflow in containerized environments. Performance measurements utilize BenchmarkDotNet for microbenchmarking, K6 for load testing, and dotMemory Unit for memory profiling. The prototype demonstrates that this compile-time approach achieves 85 percent faster startup times and 18 percent throughput improvement compared to reflection-based frameworks. The declarative approach reduces implementation complexity by 65 percent while maintaining identical business logic. Results demonstrate 60 percent reduction in memory allocations per transaction compared to existing frameworks. Under controlled failure injection conditions using chaos engineering techniques, the prototype maintained performance advantages with effective saga compensation execution. While limited to basic scenarios, results demonstrate potential for addressing both performance overhead and code complexity in containerized deployments. The prototype implementation validates the feasibility of source generation for distributed transactions, providing a foundation for future development of production-ready frameworks. This research contributes initial evidence that modern .NET compilation features can address specific challenges in containerized microservices deployment.

Zitieren

APA

Kiral, D., & Hryhorovych, V. (2026). Distributed Transactions Coordinator for .net Microservices: A Declarative Framework Approach with Source Generation. Vìsnik Nacìonalʹnogo unìversitetu "Lʹvìvsʹka polìtehnìka". Serìâ Ìnformacìjnì sistemi ta merežì, 19, 1-17. https://doi.org/10.23939/sisn2026.19.001

Vancouver

Kiral D, Hryhorovych V. Distributed Transactions Coordinator for .net Microservices: A Declarative Framework Approach with Source Generation. Vìsnik Nacìonalʹnogo unìversitetu "Lʹvìvsʹka polìtehnìka". Serìâ Ìnformacìjnì sistemi ta merežì. 2026;19:1-17. doi:10.23939/sisn2026.19.001

BibTeX
@article{Kiral2026,
  author = {Kiral, Danylo and Hryhorovych, Viktor},
  title = {Distributed Transactions Coordinator for .net Microservices: A Declarative Framework Approach with Source Generation},
  journal = {Vìsnik Nacìonalʹnogo unìversitetu "Lʹvìvsʹka polìtehnìka". Serìâ Ìnformacìjnì sistemi ta merežì},
  year = {2026},
  volume = {19},
  pages = {1--17},
  doi = {10.23939/sisn2026.19.001}
}
Kostenlos starten →