Welcome to Scholar Publishing Group

Machine Learning Theory and Practice, 2026, 6(1); doi: 10.38007/ML.2026.060109.

Performance Evaluation of Distributed Transaction Consistency Protocols for Microservice Architectures in Financial Systems—Focusing on 2PC/XA, TCC, and Saga Protocols

Author(s)

Jianheng Lu

Corresponding Author:
Jianheng Lu
Affiliation(s)

Guangzhou Huashang College, Guangdong Guangzhou, 511300, China

Abstract

With the increasing decomposition of core financial accounting, payment clearing, and risk control into microservices, the security, throughput, and auditability of cross-service transaction consistency have become increasingly important. This paper analyzes recent English literature and publicly available experimental data, comparing the performance of three mainstream protocols—2PC/XA, TCC, and Saga—in five aspects: link latency, throughput, failure retries, compensation costs, and observability overhead. The results show that 2PC/XA is suitable for short-link, high-constraint, and strongly consistent scenarios; TCC is more suitable for business processes that can be abstracted into intermediate states, such as account freezing and credit limit reservation; and Saga is more suitable for cross-domain, long-link, and consistency transaction processing flows that allow for eventual consistency. Therefore, this paper proposes a path for transaction layered governance and performance optimization from the perspective of financial systems.

Keywords

Financial microservices; Distributed transactions; Consistency protocols; Performance evaluation; Saga; TCC

Cite This Paper

Jianheng Lu. Performance Evaluation of Distributed Transaction Consistency Protocols for Microservice Architectures in Financial Systems—Focusing on 2PC/XA, TCC, and Saga Protocols. Machine Learning Theory and Practice (2026), Vol. 6, Issue 1: 77-84. https://doi.org/10.38007/ML.2026.060109.

References

[1] Liu, X., & Yang, D. (2025, March). LLM Data Strategy: Improving Data Availability and Efficiency. In Doctoral Symposium on Computational Intelligence (pp. 425-437). Singapore: Springer Nature Singapore.

[2] Zhang, Q. (2025, October). Application of Reinforcement Learning in Dynamic Advertising Content Generation. In 2025 2nd International Conference on Software, Systems and Information Technology (SSITCON) (pp. 1-5). IEEE.

[3] Wu, Y. (2025, October). Multi-Level Belief Rule Base Modeling Architecture and Intelligent Optimization Technology for Decision Support Systems. In 2025 2nd International Conference on Software, Systems and Information Technology (SSITCON) (pp. 1-8). IEEE.

[4] Wu, W. (2025, June). Construction and optimization of intelligent gateway software management platform based on jenkins cluster management under cloud edge integration architecture in industrial internet of things. In International Conference on 6G Communications Networking and Signal Processing (pp. 633-645). Singapore: Springer Nature Singapore.

[5] Q. Xu, "Implementation of Intelligent Chatbot Model for Social Media Based on the Combination of Retrieval and Generation," 2025 2nd International Conference on Intelligent Algorithms for Computational Intelligence Systems (IACIS), Hassan, India, 2025, pp. 1-7, doi: 10.1109/IACIS65746.2025.11210989.

[6] Wu Y. Optimization of Generative AI Intelligent Interaction System Based on Adversarial Attack Defense and Content Controllable Generation[J]. 2025.

[7] Sun J. Quantile Regression Study on the Impact of Investor Sentiment on Financial Credit from the Perspective of Behavioral Finance[J]. 2025.

[8] Wang Y. Application of Data Completion and Full Lifecycle Cost Optimization Integrating Artificial Intelligence in Supply Chain[J]. 2025.

[9] Chen M. Research on Automated Risk Detection Methods in Machine Learning Integrating Privacy Computing[J]. 2025.

[10] Sun, Q. (2026). Research on a Robotic Natural Language Intelligent Decision-Making Framework Based on Large Language Models, Thinking Chain Reasoning, and Multi-Agent Collaboration.

[11] Liu, H. (2026). Research on the Application of Causal Reasoning Method in Content Compliance Experimental Evaluation.

[12] Yu, X. (2026). Strategy Models and Practical Research of Growth Marketing under the Background of Digital Transformation.

[13] Hou, Y. (2026). Research on Server Performance Stability Assurance Mechanisms during Cross-Generation Computing Platform Upgrades.

[14] Han, X. (2026). Research on Automotive Manufacturing Process Optimization Methods for Multi-Supplier Collaboration.

[15] Huang, J. (2025, September). Performance Evaluation Index System and Engineering Best Practice of Production-Level Time Series Machine Learning System. In 2025 International Conference on Intelligent Communication Networks and Computational Techniques (ICICNCT) (pp. 01-07). IEEE.

[16] Hou, Y. (2026). Research on Heterogeneous Server Upgrade Strategies and Resource Utilization Efficiency Oriented Toward Green Computing Objectives. Advances in Computer and Communication, 7(1).

[17] Ding, J. (2025). Exploration of Process Improvement in Automotive Manufacturing Based on Intelligent Production. International Journal of Engineering Advances, 2(2), 17-23.

[18] Lu, Z. (2025). Design and Practice of AI Intelligent Mentor System for DevOps Education. European Journal of Education Science, 1(3), 25-31.

[19] Wu Y. Software Engineering Practice of Microservice Architecture in Full Stack Development: From Architecture Design to Performance Optimization[J]. 2025.

[20] Chen, M. (2026). Research on Privacy-Preserving AI Model Training and Validation Methods Based on Federated Learning.

[21] Yiting Hong. Differentially Private High-Dimensional Business Data Publishing and Analysis Algorithm. International Journal of Business Management and Economics and Trade (2026), Vol. 7, Issue 1: 28-35.

[22] Xu, D. (2026). Analysis of the impact of video infrastructure optimization on large-scale content quality improvement.

[23] Pan, H. (2025, March). Research on Efficient Computing Model of Hartree Fock and Density Functional Theory Based on GPU Acceleration. In Doctoral Symposium on Computational Intelligence (pp. 485-496). Singapore: Springer Nature Singapore.

[24] Zhang, C., Han, J., Zou, Y., Dong, K., Li, Y., Ding, J., & Han, X. (2024, April). Detecting the anomalies in LiDAR pointcloud. In WCX SAE World Congress Experience. SAE Technical Paper.

[25] Wu, Y. (2026). Federated Learning-based Algorithm Design for Privacy Preservation in Cross-domain Data Sharing. Engineering Advances, 6(1).

[26] Sun, J. (2025). Research on Business Data-driven Risk Prediction Methods Based on Machine Learning. Advances in Computer and Communication, 6(4).

[27] Yanchun Wang. (2025) Research on Enhancing ERP System Efficiency Through AI in Cross-border Supply Chain Environments. Advances in Computer and Communication, 6(5), 268-273.

[28] Yanchun Wang. (2025) Research on Enhancing ERP System Efficiency Through AI in Cross-border Supply Chain Environments. Advances in Computer and Communication, 6(5), 268-273.

[29] Zhou, Y. (2026). Energy efficiency and sustainability strategies for data centers. European Journal of Engineering and Technologies, 2(1), 46-53.

[30] Hou, Y. (2026). Exploration of Data Center Cost Optimization Pathways under Multi-generation CPU and GPU Collaborative Architectures. Engineering Advances, 6(1).