Application resiliency
Every application should have some resiliency built into it. There could be number of issues that could occur in an application that's comprised of multiple microservices.
In this section, we will talk about the resiliency provided by the application. We will also discuss some known design patterns that can help us solve the issues listed in the preceding section.
Resiliency provided by Cloud Foundry
Before we talk about building resiliency into the application, let's talk about what Cloud Foundry provides out-of-the-box to make the applications resilient to Platform as a Service (PaaS) outages:
- Cloud Foundry has a built-in mechanism to monitor applications. When an application is pushed into Cloud Foundry, then the number of instances requested during the deployment defines the desired state for an application. If the application is scaled manually, then the new number of instances override the desired state. Internal to Cloud Foundry, there are components that monitor...