Open Access

Resilience and Scale in .NET Microservices via Message Brokers for Ensuring Fault Tolerance and Scalability in .NET Microservices

4 Senior .NET Software Engineer at Growe Hungary, Budapest

Abstract

This article focuses on the issues of fault-tolerance and scalability of .NET-based architectures with a microservices design pattern. Message queues are one of the most widely used technologies for building fault-tolerant distributed systems. The motivation for conducting this study lies in the need to increase the reliability and flexibility of modern software systems, which are becoming increasingly distributed and complex. The starting point of the analysis is the limitations of synchronous, request/response communication between microservices, tight temporal coupling, increased latency and fragility under load, and a heightened risk of cascading failures. The article demonstrates how the adoption of message brokers and asynchronous messaging patterns mitigates these problems and provides a basis for building more resilient and scalable systems. The goal of this study is to gather and systematize queue-based approaches to implementing fault tolerance and scalability in microservices in the .NET ecosystem. The work undertakes a comprehensive analysis of architectural decisions, encompassing a comparison of Apache Kafka and RabbitMQ technologies; an examination of the Saga, CQRS, Circuit Breaker, and Retry patterns; and an evaluation of quantitative efficiency metrics for event-driven approaches (EDA). The scientific novelty lies in an integrated synthesis of the technological, architectural, and analytical aspects of microservice system design. The main conclusion is that a message broker should be chosen based on load and the business case. Kafka is preferred if the workload requires high-performance streaming and data transfer into analytical data pipelines. RabbitMQ is preferred for complex routing or background job processing. Patterns like Circuit Breakers and Retry with Exponential Backoff can be used to protect against cascading failures. Pattern-based approaches such as the Saga and CQRS patterns provide eventual consistency in distributed systems. The article is aimed at software architects, senior developers and researchers who design scalable, fault tolerant microservice systems on the Microsoft .NET platform.

Keywords

References

S. W. Bulus, O. D. Adekola, F. Y. Ayankoya, O. J. Adeniyi, and A. G. Abiodun, Migrating Monolithic E-commerce Systems to Microservices: A Systematic Review of Event-Driven Architecture Approaches, Advanced Journal of Science, Technology and Engineering, vol. 5, no. 3, pp. 1–19, Oct. 2025 (DOI: 10.52589/ajste-o1g0v4go).
A. Fachat, Challenges and benefits of the microservice architectural style, IBM Developer, 2024 (https://developer.ibm.com/articles/challenges-and-benefits-of-the-microservice-architectural-style-part-1/; accessed Oct. 01, 2025).
R. Laigner, Y. Zhou, M. A. V. Salles, Y. Liu, and M. Kalinowski, Data management in microservices, Proceedings of the VLDB Endowment, vol. 14, no. 13, pp. 3348–3361, Sep. 2021 (DOI: 10.14778/3484224.3484232).
Microsoft Learn, Challenges and solutions for distributed data management, Microsoft Learn, Mar. 29, 2023 (https://learn.microsoft.com/en-us/dotnet/architecture/microservices/architect-microservice-container-applications/distributed-data-management; accessed Oct. 03, 2025).
P. Dobbelaere and K. S. Esmaili, Kafka versus RabbitMQ, Proceedings of the 11th ACM International Conference on Distributed and Event-based Systems (DEBS '17), 2017 (DOI: 10.1145/3093742.3093908).
K. R. Thondalapally, Event-Driven Architectures: The Foundation of Modern Distributed Systems, International Journal on Science and Technology, vol. 16, no. 1, Mar. 2025 (DOI: 10.71097/ijsat.v16.i1.2907).
J. Schumeth, Evaluation of Message Brokers for interprocess communication in a Microservice Architecture, University of Applied Sciences, 2024 (https://pub.hcw.ac.at/obvfcwhsacc/content/titleinfo/10215202/full.pdf; accessed Oct. 07, 2025).
M. Kleppmann, Distributed Systems, University of Cambridge, 2020 (https://www.cl.cam.ac.uk/teaching/2021/ConcDisSys/dist-sys-notes.pdf; accessed Oct. 08, 2025).
Microsoft Learn, Saga pattern - Azure Design Patterns, Microsoft Learn (https://learn.microsoft.com/en-us/azure/architecture/patterns/saga; accessed Oct. 07, 2025).
Microsoft Learn, CQRS pattern - Azure Architecture Center, Microsoft Learn (https://learn.microsoft.com/en-us/azure/architecture/patterns/cqrs; accessed Oct. 09, 2025).

Most read articles by the same author(s)

1 2 3 4 5 6 7 8 > >> 

Similar Articles

1-10 of 65

You may also start an advanced similarity search for this article.