high-availability

Design high-availability architectures with redundancy, failover, and disaster recovery planning.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill high-availability-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: high-availability
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/06-system-design/high-availability
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill high-availability-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Systems fail when single points of failure go down, and teams often lack a structured method to design redundancy, failover, and disaster recovery that meets a specific uptime SLA. ## Core Features & Use Cases - SLA-Driven Design: Translate uptime targets (99.9% to 99.999%) into concrete architecture decisions using series and parallel availability calculations. - Failure Elimination Patterns: Apply load balancing, health checks, primary-replica databases, automatic failover, and multi-region distribution to remove single points of failure. - Use Case: A team migrating a payment service to production needs 99.99% uptime. Use this Skill to produce an architecture with multi-AZ deployment, automatic failover under 30 seconds, health probes, and a disaster recovery plan with defined RPO and RTO. ## Quick Start Design a high-availability architecture for my web application targeting 99.95% uptime with automatic failover and multi-region disaster recovery.

Frequently Asked Questions about high-availability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a system for 99.99% uptime?

Designing for 99.99% uptime allows only 52.56 minutes of downtime per year, requiring multi-AZ deployment, active-active redundancy, and automatic failover. Eliminate every single point of failure across servers, databases, and load balancers, and automate failover since manual recovery cannot meet sub-hour RTO targets.

How to calculate availability for redundant components?

For components in series, multiply their availabilities (three 99.9% components yield 99.7%). For parallel redundant components, subtract the product of failure rates from one: two 90% components in failover configuration yield 99% availability.

What is the difference between active-passive and active-active multi-region setups?

Active-passive keeps a backup region idle with asynchronous replication, giving RPO of minutes to hours and manual failover. Active-active serves traffic from both regions with synchronous replication, achieving zero RPO and automatic failover in seconds, at significantly higher cost.

How does automatic database failover work with PostgreSQL?

PostgreSQL automatic failover uses tools like Patroni, which detects primary failure via a consensus store such as Consul or etcd, promotes a replica to primary, and updates the proxy layer to route traffic. Typical failover completes in under 30 seconds.

What is the difference between RPO and RTO in disaster recovery?

RPO defines maximum acceptable data loss, such as one hour of transactions, while RTO defines maximum acceptable recovery time, such as four hours of downtime. These two targets drive backup frequency, replication mode, and failover automation choices.

When should I use graceful degradation instead of full failover?

Use graceful degradation when a dependency fails but core functionality can continue, such as serving read-only mode from a replica when the primary database is down. Feature toggles let you disable non-critical features like recommendations while keeping checkout and login operational.