Mind · Strategy
StopDrill
Exercise the means of stopping an activity while it runs, so that it still works when needed
Definition
Mechanism
The means of stopping or slowing an ongoing activity, such as a CircuitBreaker, a kill switch or a rollback, is exercised on a stated schedule while the activity runs, and the time it takes to stop is recorded. If stopping takes longer than the stated limit, the activity does not grow until the stop is repaired.
Invariants
- The stop is exercised on a stated schedule.
- The measured time to stop is recorded and compared with a stated limit.
- When the limit is exceeded, the activity does not grow until the stop is repaired.
Risks
Failure modes
Untested brake
the stop exists on paper and fails when it is needed.
Drill harm
the stop drill causes the damage it guards against.
Relationships
Builds on
References
Infrastructure
Fail-fast protection against cascading failures
Nothing in this library builds on this pattern yet.
Reference
