Method for Supporting Consistent Data State in Microservice SystemsKostadin Almishev Citation: Kostadin Almishev, "Method for Supporting Consistent Data State in Microservice Systems", Universal Library of Innovative Research and Studies, Special Issue. Copyright: This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. AbstractWithin the framework of the article, an improved approach to maintaining a consistent data state is considered, based on the Saga pattern and implemented through centralized orchestration in combination with persistent storage of the operation context in a NoSQL database. The objective of the work is the design and experimental validation of execution algorithms, compensating rollback, and subsequent recovery of operations, focused on reducing response time and eliminating a single point of failure. The methodological basis includes functional decomposition of processes using the IDEF0 notation and conducting load testing of the developed software complex implemented in the Kotlin language and using Apache Kafka. The experimental part was performed on banking data with a volume of 1.5 TB; the obtained results show that the proposed method provides an increase in the stable load threshold by 8% and a reduction in the number of transactions in the database by 18% relative to the two-phase commit protocol (2PC). The final provisions confirm the expediency of applying the model of eventual consistency (BASE, Basically Available, Soft state, and Eventually consistent theorem) under the conditions of high-load financial systems, where a balance between performance and preservation of strict guarantees of data integrity is required. The information reflected in the article will be of practical significance for system architects and developers of distributed platforms interested in optimizing performance while maintaining data correctness. Keywords: Microservice, Distributed System, Data Consistency, Data Integrity, Transaction, Saga Pattern, Orchestration, Two-Phase Commit, Fault Tolerance, Cloud Computing. Download |
|---|