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 条
  • [31] Data analysis for nano-material's design by using diffraction pattern
    Ramirez Ramirez, David
    Cordova Fraga, Teodoro
    Gomez Solis, Christian
    Hernandez Farias, Delia Irazu
    APPLIED PHYSICS A-MATERIALS SCIENCE & PROCESSING, 2022, 128 (08):
  • [32] Interior Media Architecture: Using social media as a tool for Data Informed Design Solutions
    Huang, Tracy
    Fredericks, Joel
    Maalsen, Sophia
    PROCEEDINGS OF THE 6TH MEDIA ARCHITECTURE BIENNALE CONFERENCE, MAB 2023, 2024, : 28 - 37
  • [33] Architecture design of virtual-optics data security using parallel hardware and software
    Peng, X
    Zhang, P
    Niu, HB
    OPTIK, 2004, 115 (01): : 15 - 22
  • [34] Algorithm and architecture-level design space exploration using hierarchical data flows
    Peixoto, HP
    Jacome, MF
    IEEE INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, PROCEEDINGS, 1997, : 272 - 282
  • [35] DESIGN OF A SECURE ARCHITECTURE FOR CONTEXT-AWARE WEB SERVICES USING ACCESS CONTROL MECHANISM
    Charles, P. Joseph
    Kumar, S. Britto Ramesh
    2014 INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING AND INFORMATICS (IC3I), 2014, : 780 - 784
  • [36] A Study on Discontinuity Pattern in Online Social Networks Data Using Regression Discontinuity Design
    Kumar, K. Sailaja
    Geetha, D. Evangelin
    Kumar, T. V. Suresh
    ADVANCES IN DATA SCIENCE, 2019, 941 : 141 - 150
  • [37] A design pattern for optimizations in data intensive applications using ABS and JAVA']JAVA 8
    Serbanescu, V.
    Azadbakht, K.
    de Boer, F.
    Nagarajagowda, C.
    Nobakht, B.
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2016, 28 (02): : 374 - 385
  • [38] Using participatory design and visual narrative inquiry to investigate researchers' data challenges and recommendations for library research data services
    Mattern, Eleanor
    Jeng, Wei
    He, Daqing
    Lyon, Liz
    Brenner, Aaron
    PROGRAM-ELECTRONIC LIBRARY AND INFORMATION SYSTEMS, 2015, 49 (04) : 408 - 423
  • [39] A Pattern-Based Design Analysis Method by Using Inline Inspection Data More Efficiently
    Zhuang, Linda
    Zhu, Annie
    Zhang, Yifan
    Sweis, Jason
    Lai, Ya-Chieh
    DESIGN-PROCESS-TECHNOLOGY CO-OPTIMIZATION FOR MANUFACTURABILITY XI, 2017, 10148
  • [40] DEPLOYMENT MECHANISM FOR A LARGE REFLECTOR - THERMAL-DESIGN VERIFICATION USING FLIGHT DATA
    MIYASAKA, A
    TSUNODA, H
    NAKAJIMA, K
    JOURNAL OF SPACECRAFT AND ROCKETS, 1995, 32 (05) : 890 - 893