Chaos Monkey (https://github.com/Netflix/chaosmonkey) was created by the Netflix engineering team, and as its name suggests, it is intended to generate chaos in a random manner. The process will randomly choose servers in their production environment and deactivate them during business hours in order to measure application resiliency.
With Chaos Monkey, we can identify how to better distribute servers, look for more efficient monitoring systems, and develop resilient patterns.
Imagine an application that implements CQRS. Imagine what would happen if a Chaos Monkey test shut down the server from the writing database, as shown in the following diagram:
The answer is nothing serious. The process of writing the information will be interrupted, but the reading process will not be interrupted. If the queue used is transactional, the information consumed by the domain that...