9 Resiliency Patterns
This chapter covers:
- Making your Pulsar Function based applications resilient to adverse events.
- Implementing well-established resiliency patterns using Pulsar Functions.
As the architect of the GottaEat order entry microservice, your primary goal is to develop a system that can accept incoming food orders from customers 24 hours a day, 7 days a week and within an acceptable response time to the customer. Your system must be available at all times; otherwise your company will lose not only revenue and customers, but its reputation will suffer as well. Therefore, you must design your system to be both highly-available and resilient in order to provide continuity of service. Everyone wants their systems to be resilient, but what does that actually mean? Resilience is the ability of a system to withstand disruptions caused by adverse events and conditions while maintaining an acceptable level of performance relative to any number of quantitative metrics such as availability, capacity, performance, reliability, robustness, and usability.