-
Book Overview & Buying
-
Table Of Contents
Microservices Design Patterns in .NET - Second Edition
By :
In the previous chapter, we explored the saga pattern, which allowed us to orchestrate long-running business transactions across multiple services without compromising consistency. Sagas provide a crucial layer of fault tolerance for business workflows, but they are just the beginning when designing genuinely resilient systems.
Modern applications must be built to expect failure. In such systems, failure is not an anomaly but an operational certainty. Whether it’s a network timeout, a downstream service crash, a temporary infrastructure hiccup, or an unresponsive third-party API, your application must be engineered to handle failure gracefully. This chapter is dedicated to helping you design resilient microservices using .NET technologies that can withstand and recover from these challenges in production.
Resilience refers to a system’s ability to recover from failures and continue functioning, even in a degraded state. In microservices...