International Peer-Reviewed JournalOpen AccessISSN 2456-8880
irejournals@gmail.com+91-7433024337

Home / Current Issue / Paper 1706735

1706735 Vol 8 · Issue 6 Download Paper

Distributed Transaction Management in Micro Services Architecture

Muhammad Sohail

Subject area: Science,Engineering and Technology  ·  Area of research: Software Development

Abstract

On a general level, it is critical but rather complex to handle distributed transactions in microservices architectures nowadays is one of the core concerns in modern software engineering. This paper looks at the concepts, techniques, and paradigms that underpin the modern best practices in achieving transactional behavior in distributed systems, and also how they apply to the complexities of microservices architecture. It gives a brief comparison of the ACID vs BASE models of transaction processing and examines how those paradigms affect system design. Common used protocols raised here include Two-Phase Commit (2PC) and the Saga Pattern; their benefits and drawbacks are introduced besides with how to apply them. Continuing the evaluation of the CAP theorem pointed out in the article, the author examines the importance of consistency, availability, and partition tolerance for distributed architectures. Filled with real-world case studies, practical tips, and approximations, it provides developers and system architects with the proven approaches to designing maintainable, scalable, and efficient systems that do not corrupt data in large distributed microservices architectures.

Keywords

Microservices Architecture, Distributed Transactions, Saga Pattern, Two-Phase Commit, Eventual Consistency, CAP Theorem, Database Partitioning, Scalability, Resilience, Data Integrity, Service-Oriented Architecture, Distributed System Challenges, Fault Tolerance, Event-Driven Architecture, Transaction Coordination, Choreography vs. Orchestration, Consistency Models, Message Brokers, System.

References

[1] Limόn, X., Guerra-Hernández, A., Sánchez-García, A. J., & Arriaga, J. C. P. (2018, October). SagaMAS: a software framework for distributed transactions in the microservice architecture. In 2018 6th International Conference in Software Engineering Research and Innovation (CONISOFT) (pp. 50-58). IEEE.

[2] Lungu, S., & Nyirenda, M. (2024). Current Trends in the Management of Distributed Transactions in Micro-Services Architectures: A Systematic Literature Review. Open Journal of Applied Sciences, 14(9), 2519-2543.

[3] Daraghmi, E., Zhang, C. P., & Yuan, S. M. (2022). Enhancing saga pattern for distributed transactions within a microservices architecture. Applied Sciences, 12(12), 6242.

[4] Salah, T., Zemerly, M. J., Yeun, C. Y., Al-Qutayri, M., & Al-Hammadi, Y. (2016, December). The evolution of distributed systems towards microservices architecture. In 2016 11th International Conference for Internet Technology and Secured Transactions (ICITST) (pp. 318-325). IEEE.

[5] Bashtovyi, A., & Fechan, A. (2024). DISTRIBUTED TRANSACTIONS IN MICROSERVICE ARCHITECTURE: INFORMED DECISION-MAKING STRATEGIES.

[6] Toffetti, G., Brunner, S., Blöchlinger, M., Dudouet, F., & Edmonds, A. (2015, April). An architecture for self-managing microservices. In Proceedings of the 1st international workshop on automated incident management in cloud (pp. 19-24).

[7] Yadav, P. S. DESIGN AND EVALUATION OF EVENT-DRIVEN ARCHITECTURES FOR TRANSACTION MANAGEMENT IN MICROSERVICES.

[8] Shabani, I., Mëziu, E., Berisha, B., & Biba, T. (2021). Design of modern distributed systems based on microservices architecture. International Journal of Advanced Computer Science and Applications, 12(2).

[9] Navarro, A. (2022). Fundamentals of Transaction Management in Enterprise Application Architectures. IEEE Access, 10, 124305-124332.

[10] Nylund, W. (2023). Comparing Transaction Management Methods in Microservice Architecture.

[11] Zhang, G., Ren, K., Ahn, J. S., & Ben-Romdhane, S. (2019, April). GRIT: consistent distributed transactions across polyglot microservices with multiple databases. In 2019 IEEE 35th International Conference on Data Engineering (ICDE) (pp. 2024-2027). IEEE.

[12] González-Aparicio, M. T., Younas, M., Tuya, J., & Casado, R. (2023). A transaction platform for microservices-based big data systems. Simulation Modelling Practice and Theory, 123, 102709.

[13] Godage, S., Kumar, T. R., Pandya, H., Bhosale, S., & Patil, R. (2023). Web Interface for Distributed Transaction System. Computer Integrated Manufacturing Systems, 29(6), 214-227.

[14] Christudas, B., & Christudas, B. (2019). Distributed Transactions. Practical Microservices Architectural Patterns: Event-Based Java Microservices with Spring Boot and Spring Cloud, 385-481.

[15] Fan, P., Liu, J., Yin, W., Wang, H., Chen, X., & Sun, H. (2020). 2PC*: a distributed transaction concurrency control protocol of multi-microservice based on cloud computing platform. Journal of Cloud Computing, 9, 1-22.

[16] Newman, S. (2021). Building microservices. " O'Reilly Media, Inc.".

[17] Christudas, B., & Christudas, B. (2019). Transactions and Microservices. Practical Microservices Architectural Patterns: Event-Based Java Microservices with Spring Boot and Spring Cloud, 483-541.

How to cite this paper

Muhammad Sohail "Distributed Transaction Management in Micro Services Architecture" Iconic Research And Engineering Journals Volume 8 Issue 6 2024 Page 704-715
Muhammad Sohail "Distributed Transaction Management in Micro Services Architecture" Iconic Research And Engineering Journals, vol. 8, no. 6, Dec. 2024
Muhammad Sohail (2024). Distributed Transaction Management in Micro Services Architecture. Iconic Research And Engineering Journals, 8(6).
Muhammad Sohail "Distributed Transaction Management in Micro Services Architecture" Iconic Research And Engineering Journals, vol. 8, no. 6, Dec. 2024.
@article{1706735,
      author = {Muhammad Sohail},
      title = {Distributed Transaction Management in Micro Services Architecture},
      journal = {Iconic Research And Engineering Journals},
      year = {2024},
      volume = {8},
      number = {6},
      pages = {704-715},
      issn = {2456-8880},
      url = {https://www.irejournals.com/formatedpaper/1706735.pdf},
      abstract = {On a general level, it is critical but rather complex to handle distributed transactions in microservices architectures nowadays is one of the core concerns in modern software engineering. This paper looks at the concepts, techniques, and paradigms that underpin the modern best practices in achieving transactional behavior in distributed systems, and also how they apply to the complexities of microservices architecture. It gives a brief comparison of the ACID vs BASE models of transaction processing and examines how those paradigms affect system design. Common used protocols raised here include Two-Phase Commit (2PC) and the Saga Pattern; their benefits and drawbacks are introduced besides with how to apply them. Continuing the evaluation of the CAP theorem pointed out in the article, the author examines the importance of consistency, availability, and partition tolerance for distributed architectures. Filled with real-world case studies, practical tips, and approximations, it provides developers and system architects with the proven approaches to designing maintainable, scalable, and efficient systems that do not corrupt data in large distributed microservices architectures.},
      keywords = {Microservices Architecture, Distributed Transactions, Saga Pattern, Two-Phase Commit, Eventual Consistency, CAP Theorem, Database Partitioning, Scalability, Resilience, Data Integrity, Service-Oriented Architecture, Distributed System Challenges, Fault Tolerance, Event-Driven Architecture, Transaction Coordination, Choreography vs. Orchestration, Consistency Models, Message Brokers, System.},
      month = {December},
  }