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 条
  • [41] Parametric design of curved hydrocyclone using data points and its separation enhancement mechanism
    Liu, Xiaoyan
    Wang, Jian-gang
    Wang, Hualin
    Zhang, Yanhong
    Zheng, Yan
    Sun, Mochuan
    Yang, Yinghao
    Mei, Yuru
    Zhang, Yafei
    CHEMICAL ENGINEERING AND PROCESSING-PROCESS INTENSIFICATION, 2024, 205
  • [42] Incentive Mechanism Design for Mobile Data Rewards using Multi-Dimensional Contract
    Xiong, Zehui
    Lim, Wei Yang Bryan
    Kang, Jiawen
    Niyato, Dusit
    Wang, Ping
    Miao, Chunyan
    2020 IEEE WIRELESS COMMUNICATIONS AND NETWORKING CONFERENCE (WCNC), 2020,
  • [43] A New design of occlusion Invariant Face Recognition Using optimal Pattern extraction and CNN with GRU-Based Architecture
    Pankaj P.
    Bharti P.K.
    Kumar B.
    International Journal of Information Security and Privacy, 2022, 16 (01)
  • [44] A sample design for globally consistent biomass estimation using lidar data from the Geoscience Laser Altimeter System (GLAS)
    Sean P Healey
    Paul L Patterson
    Sassan Saatchi
    Michael A Lefsky
    Andrew J Lister
    Elizabeth A Freeman
    Carbon Balance and Management, 7 (1)
  • [45] Design and analysis of lightweight trust mechanism for secret data using lightweight cryptographic primitives in MANETs
    Kumar, Adarsh (adarsh.kumar@jiit.ac.in), 1600, Femto Technique Co., Ltd. (18):
  • [46] A New Design of Occlusion-Invariant Face Recognition Using Optimal Pattern Extraction and CNN with GRU-Based Architecture
    Pankaj
    Bharti, P. K.
    Kumar, Brajesh
    INTERNATIONAL JOURNAL OF IMAGE AND GRAPHICS, 2023, 23 (04)
  • [47] Pattern analysis approach reveals restriction enzyme cutting abnormalities and other cDNA library construction artifacts using raw EST data
    Zhou, Sun
    Ji, Guoli
    Liu, Xiaolin
    Li, Pei
    Moler, James
    Karro, John E.
    Liang, Chun
    BMC BIOTECHNOLOGY, 2012, 12
  • [48] Pattern analysis approach reveals restriction enzyme cutting abnormalities and other cDNA library construction artifacts using raw EST data
    Sun Zhou
    Guoli Ji
    Xiaolin Liu
    Pei Li
    James Moler
    John E Karro
    Chun Liang
    BMC Biotechnology, 12
  • [49] An exploratory architecture using data and knowledge to close the loop between design and Maintenance from a product quality perspective
    Zhang, Dang
    Zhang, Yingfeng
    Zhang, Geng
    Qian, Cheng
    ADVANCED ENGINEERING INFORMATICS, 2023, 56
  • [50] Design of optimized type-2 Fuzzy RBFNN Echo Pattern classifier using meterological radar data
    Song, Chan-Seok
    Lee, Seung-Chul
    Oh, Sung-Kwun
    Transactions of the Korean Institute of Electrical Engineers, 2015, 64 (06): : 922 - 934