Summary
In this chapter, we read about how Istio enables application resiliency and testing by providing options to inject delays and faults into request processing. Fault injection assists in validating an application’s resiliency when there is unexpected degradation in underlying services, as well as the network and infrastructure. After fault injection, we read about request timeouts and how they improve application resiliency. For transient failures, it might be a wise idea to make a few retries before giving up on the request and hence, we practiced configuring Istio to perform service retries. Fault injection, timeouts, and retries are properties of VirtualServices and are carried out before routing a request to upstream services.
In the second part of the chapter, we read about various load balancing policies and how you can configure load balancing policies based on the dynamic behavior of an upstream service. Load balancing helps to distribute traffic to upstream...