This chapter covers:
- The importance of building resilient applications
- MicroProfile Fault Tolerance strategies
- When to apply each fault tolerance strategy
- How to apply each fault tolerance strategy
- How to configure and disable fault tolerance annotations using properties
Application robustness is critically important in a microservices architecture, where there are many service interdependencies. A microservices architecture can have many service interdependencies. A service susceptible to failure can negatively impact other services. This chapter covers using resilience patterns to improve application robustness to maintain overall health.
Services will eventually experience downtime, whether planned or unplanned. A service can reduce its downtime using resilience strategies when the services it depends on are unreliable or unavailable.
Quarkus offers its resilience strategies using the MicroProfile Fault Tolerance APIs. These annotation-based APIs are applied to classes or methods, standalone or in combination. Table 7.1 lists the available fault tolerance annotations.