For this demo, we are running a latency test for one minute between the database and payment service.
This is a demonstration of impact when the response from a dependent service is latent. It helps answer questions such as ‘Is your system ready to handle such delays in response?’ and ‘Have you configured the correct timeouts and proper error handling for graceful degradation for the user?’
Running tests like these as a part of your CI/CD pipeline makes the process easy and repeatable. They also help enhance productivity by enabling teams to detect any issues before they turn into an outage, as well as protect brand and reputation.