A Data-Consistent Microservices Architecture Library using Saga Design Pattern and Backup Mechanism

被引:0
|
作者
Lee, Wen-Tin [1 ]
Song, Pinging-yi [1 ]
Tsai, Ming-Kai [1 ]
机构
[1] Natl Kaohsiung Normal Univ, Dept Software Engn & Management, Kaohsiung 824, Taiwan
关键词
microservice architecture; data consistent; saga; backup; cache;
D O I
10.6688/JISE.202501_41(1).0007
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, the proliferation of complex applications has led to the emergence of microservices architecture as the preferred approach for developing large-scale applications. Consequently, numerous design patterns for microservice communication have evolved, with service orchestration gaining widespread acceptance as a standard solution in recent times. However, the data inconsistency issue caused by inter-microservice logic errors and unexpected server interruptions by the orchestrator during the orchestration process has become a significant challenge in the microservices architecture. This study delves into design patterns for microservice data consistency and develops the data consistency and backup library, Anser-Saga, which enables the creation of backups and restart points of distributed transaction states, ensuring eventual data consistency between microservice endpoints. Furthermore, it introduces a service backup mechanism to guarantee the orchestrator's ability to compensate and restart orchestration processes in the event of unforeseen abnormal failures, thereby ensuring the integrity of distributed transactions and achieving high availability of services. Through experimental design and case testing, comparisons and evaluations are conducted with existing solutions to ensure the performance and stability of the developed library in this study. The experiments confirm that the proposed Saga solution exhibits better performance and stability, enabling developers to implement highly available microservices architectural applications with distributed data consistency using the Anser-Saga library.
引用
收藏
页码:121 / 136
页数:16
相关论文
共 50 条
  • [1] Enhancing Saga Pattern for Distributed Transactions within a Microservices Architecture
    Daraghmi, Eman
    Zhang, Cheng-Pu
    Yuan, Shyan-Ming
    APPLIED SCIENCES-BASEL, 2022, 12 (12):
  • [2] Data Access Pattern Recommendations for Microservices Architecture
    Venkatesh, Dasari Surya Sai
    Agarwal, Shivali
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (IEEE CLOUD 2022), 2022, : 241 - 243
  • [3] Solving Stochastic Inverse Problems for Structure-Property Linkages Using Data-Consistent Inversion
    Anh Tran
    Wildey, Tim
    TMS 2021 150TH ANNUAL MEETING & EXHIBITION SUPPLEMENTAL PROCEEDINGS, 2021, : 447 - 458
  • [4] Using Microservices and Event Driven Architecture for Big Data Stream Processing
    Zhelev, Svetoslav
    Rozeva, Anna
    PROCEEDINGS OF THE 45TH INTERNATIONAL CONFERENCE ON APPLICATION OF MATHEMATICS IN ENGINEERING AND ECONOMICS (AMEE'19), 2019, 2172
  • [5] Solving Stochastic Inverse Problems for Property–Structure Linkages Using Data-Consistent Inversion and Machine Learning
    Anh Tran
    Tim Wildey
    JOM, 2021, 73 : 72 - 89
  • [6] Solving Stochastic Inverse Problems for Property-Structure Linkages Using Data-Consistent Inversion and Machine Learning
    Tran, Anh
    Wildey, Tim
    JOM, 2021, 73 (01) : 72 - 89
  • [7] SOLVING STOCHASTIC INVERSE PROBLEMS FOR CFD USING DATA-CONSISTENT INVERSION AND AN ADAPTIVE STOCHASTIC COLLOCATION METHOD
    Amino, H.
    Belme, A. -c.
    Chassaing, J. -c.
    Wildey, T.
    INTERNATIONAL JOURNAL FOR UNCERTAINTY QUANTIFICATION, 2024, 14 (05) : 85 - 107
  • [8] Sparse-View Cone Beam CT Reconstruction Using Data-Consistent Supervised and Adversarial Learning From Scarce Training Data
    Lahiri, Anish
    Maliakal, Gabriel
    Klasky, Marc L.
    Fessler, Jeffrey A.
    Ravishankar, Saiprasad
    IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, 2023, 9 : 13 - 28
  • [9] DATA-CONSISTENT SOLUTIONS TO STOCHASTIC INVERSE PROBLEMS USING A PROBABILISTIC MULTI-FIDELITY METHOD BASED ON CONDITIONAL DENSITIES
    Bruder, L.
    Gee, M. W.
    Wildey, T.
    INTERNATIONAL JOURNAL FOR UNCERTAINTY QUANTIFICATION, 2020, 10 (05) : 399 - 424
  • [10] Big Data Analytics by CrowdLearning: Architecture and Mechanism Design
    Zhan, Yufeng
    Li, Peng
    Wang, Kun
    Guo, Song
    Xia, Yuanqing
    IEEE NETWORK, 2020, 34 (03): : 143 - 147