Comparison of Choreography vs Orchestration Based Saga Patterns in Microservices

Gespeichert in:
Bibliographische Detailangaben
Titel: Comparison of Choreography vs Orchestration Based Saga Patterns in Microservices
Autoren: Aydın, Şahin, Çebi, Cem Berke
Quelle: 2022 International Conference on Electrical, Computer and Energy Technologies (ICECET). :1-6
Verlagsinformationen: IEEE, 2022.
Publikationsjahr: 2022
Schlagwörter: Styling, Architecture patterns, 05 social sciences, Orchestration, Choreography, Saga pattern, Design patterns, Transaction processing, 02 engineering and technology, Software project, Stream processing, Key, Database systems, 0502 economics and business, 0202 electrical engineering, electronic engineering, information engineering, SQL database, Microservice architecture, Concurrency control
Beschreibung: Microservice Architecture (MSA) is a design and architecture pattern created to deal with the challenges of conventional software programs in terms of stream processing, highly available flexibility, and infrastructural agility. Despite the many advantages of MSA, designing isolated services using the autonomous Databases per Services paradigm is difficult. We realized that because each microservice will have its repository, ensuring data coherence between databases becomes difficult, especially in reversals, where operations transcend different sites. Distributed networked transactions and rollbacks can be efficiently handled using two-phase commitment methods in hardware virtualization using RDBMS databases. However, these approaches can't be used in micro-services with segregated NoSQL servers. Three issues have been addressed in this study: (i) investigate the implementation of event choreography and orchestration methods for the Saga pattern execution in MSA, (ii) existing reality suggestions on the saga pattern adoption and implementation besides the use cases, and (iii) introduce the disbursed transaction records and rollbacks challenges in isolated No-SQL databases with reliant collections in MSA. Publisher's Version
Publikationsart: Article
Conference object
Dateibeschreibung: application/pdf
DOI: 10.1109/icecet55527.2022.9872665
Zugangs-URL: https://hdl.handle.net/11729/5100
Rights: STM Policy #29
Dokumentencode: edsair.doi.dedup.....4f603551a00118b9f4c680c1dbc064cd
Datenbank: OpenAIRE
Beschreibung
Abstract:Microservice Architecture (MSA) is a design and architecture pattern created to deal with the challenges of conventional software programs in terms of stream processing, highly available flexibility, and infrastructural agility. Despite the many advantages of MSA, designing isolated services using the autonomous Databases per Services paradigm is difficult. We realized that because each microservice will have its repository, ensuring data coherence between databases becomes difficult, especially in reversals, where operations transcend different sites. Distributed networked transactions and rollbacks can be efficiently handled using two-phase commitment methods in hardware virtualization using RDBMS databases. However, these approaches can't be used in micro-services with segregated NoSQL servers. Three issues have been addressed in this study: (i) investigate the implementation of event choreography and orchestration methods for the Saga pattern execution in MSA, (ii) existing reality suggestions on the saga pattern adoption and implementation besides the use cases, and (iii) introduce the disbursed transaction records and rollbacks challenges in isolated No-SQL databases with reliant collections in MSA. Publisher's Version
DOI:10.1109/icecet55527.2022.9872665