name: design-a-failover-strategy
description: Design a failover strategy with detection, promotion, recovery, and ownership boundaries. Use when the user needs a service or data store to continue operating during a component failure.
domain: architecture-design
tags: [failover, resilience, recovery]
triggers: ["failover strategy design", "plan automatic failover", "service recovery architecture"]
Design a failover strategy with detection, promotion, recovery, and ownership boundaries
Purpose
Design a failover strategy with detection, promotion, recovery, and ownership boundaries.
When to use
Use when the user needs a service or data store to continue operating during a component failure.
When NOT to use
Do not use this for a local implementation detail; use software-engineering instead.
Inputs required
- The functional and non-functional requirements
- The constraints on scale, budget and timeline
- The existing systems the design must fit
Procedure
- Identify the failure modes, recovery objectives, and critical dependencies for each component.
- Define health signals, detection thresholds, and the operator or controller that acts.
- Specify the promotion order, fencing mechanism, and authority for stateful components.
- Document degraded behavior, traffic routing, data reconciliation, and recovery validation.
- Assign incident ownership and define failover drills with pass and rollback criteria.
- Record assumptions about split brain, partition tolerance, and recovery-time limits.
Output contract
A design with components, interfaces, data flows, failure modes and a migration path.
Validation checklist
Safety notes
Never present a design as final without stating the assumptions it depends on.
Related skills
design-a-batch-processing-pipeline
design-a-caching-layer
design-a-data-model-for-a-feature
1---2name: design-a-failover-strategy3description: Design a failover strategy with detection, promotion, recovery, and ownership boundaries. Use when the user needs a service or data store to continue operating4---5---6name: design-a-failover-strategy7description: Design a failover strategy with detection, promotion, recovery, and ownership boundaries. Use when the user needs a service or data store to continue operating during a component failure.8domain: architecture-design9tags: [failover, resilience, recovery]10triggers: ["failover strategy design", "plan automatic failover", "service recovery architecture"]11---1213# Design a failover strategy with detection, promotion, recovery, and ownership boundaries1415## Purpose1617Design a failover strategy with detection, promotion, recovery, and ownership boundaries.1819## When to use2021Use when the user needs a service or data store to continue operating during a component failure.2223## When NOT to use2425Do not use this for a local implementation detail; use software-engineering instead.2627## Inputs required2829- The functional and non-functional requirements30- The constraints on scale, budget and timeline31- The existing systems the design must fit3233## Procedure34351. Identify the failure modes, recovery objectives, and critical dependencies for each component.362. Define health signals, detection thresholds, and the operator or controller that acts.373. Specify the promotion order, fencing mechanism, and authority for stateful components.384. Document degraded behavior, traffic routing, data reconciliation, and recovery validation.395. Assign incident ownership and define failover drills with pass and rollback criteria.406. Record assumptions about split brain, partition tolerance, and recovery-time limits.4142## Output contract4344A design with components, interfaces, data flows, failure modes and a migration path.4546## Validation checklist4748- [ ] Every requirement maps to a component49- [ ] Failure and rollback paths are described50- [ ] The trade-offs behind the choice are written down5152## Safety notes5354Never present a design as final without stating the assumptions it depends on.5556## Related skills5758- `design-a-batch-processing-pipeline`59- `design-a-caching-layer`60- `design-a-data-model-for-a-feature`