19 ms·
What would be advised in the following situation if one wanted to follow chaos engineering principles: - there's a service that needs config data from a DB on
by polskibus 7y ago
What would be advised in the following situation if one wanted to follow chaos engineering principles:
- there's a service that needs config data from a DB on another node to initialize itself to become useful
- should the service die if it doesn't have connection to the DB on startup (so that the error propagates), or should it start and perform retry indefinitely until DB connection is set? Until that happens it sends back error code to its consumers.
- 8note 7y agoI don't think what to do during the failure case is part of chaos engineering. identifying that it needs to do something, and whether it does it or not is part of chaos engineering. eg by turning off the DB for a bit and seeing what it does