Downloads: 8 | Views: 206 | Weekly Hits: ⮙1 | Monthly Hits: ⮙2
Research Paper | Computer Engineering | India | Volume 13 Issue 9, September 2024 | Popularity: 5.5 / 10
Data Consistency and Management in Microservices: Evaluating Approaches and Their Impact on System Integrity
Anuradha Walia, Amol Ashokrao Shinde
Abstract: One major issue associated to microservices architectures is aspects related to data consistency and management of data within such a context. To measure the effect on system integrity, this research paper compares different data consistency models which are, eventual consistency, distributed transactions through Two-Phase Commit (2PC), the Saga pattern. Employing historical data analysis, case studies, and examining the recent technological advancements, the study gives a comparative assessment of various approaches in terms of their capabilities to achieve transaction latencies and throughput and possibility to guarantee consistent results. Based on the results, it is evident that although eventual consistency models provide high scale-out and availability characteristics, the models experience transitory data inconsistency. Consistency is high since data is accessed from, and committed to, multiple databases in a distributed transaction but they have performance penalties. The Saga patterning gives a balanced view but at the same time brings together additional design difficulty. New trends like Distributed Ledger Technology (DLT) as well as new consensus algorithms that can be used to solve problematic approaches like the Raft algorithm give new possibilities for improving consistency of the data but bring their own concerns. The study implies that one must choose the right consistency model depending on the need and performance Degree and the future research can consider the use of the combination of several models along with the improvement of technological solutions to have a better deal with data consistency in microservices.
Keywords: Microservices, data consistency, eventual consistency, distributed transactions, Two-Phase Commit (2PC), Saga pattern, Distributed Ledger Technology (DLT), Raft consensus algorithm
Edition: Volume 13 Issue 9, September 2024
Pages: 534 - 542
DOI: https://www.doi.org/10.21275/SR24905123657
Make Sure to Disable the Pop-Up Blocker of Web Browser