Command Palette

Search for a command to run...

Назад к скиллам
скилл № 70203

enterprise-high-availability

Use when the user asks about 99.99% availability, five nines, database replicas and failover, active-active vs active-passive, load balancer health checks or…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить enterprise-high-availability в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Enterprise High Availability

Purpose

Design and operate systems that hold availability targets from 95% to 99.999% across the full stack: database replica + slave topology, load balancer health contracts, zero-downtime application version rollout, schema/data sync during migration, and quorum-based failover. Applies equally to a solo-built enterprise SaaS and a 10k-node Fortune-500 platform — only the budget, redundancy factor, and automation depth change.

Agent Protocol

Trigger

Exact user phrases: "high availability", "HA", "99.9", "99.99", "99.999", "five nines", "four nines", "three nines", "uptime target", "replica", "read replica", "slave db", "standby", "load balancer", "LB", "HAProxy", "Nginx LB", "ALB", "NLB", "Envoy", "blue-green", "canary", "rolling update", "zero downtime", "version sync", "schema migration", "data sync", "backfill", "dual write", "expand contract", "failover", "quorum", "split brain", "RPO", "RTO", "active-active", "active-passive", "multi-AZ", "multi-region".

Input Context

Before activating, verify:

  • Target availability tier (95 / 99 / 99.9 / 99.99 / 99.999) and the SLA penalty if missed
  • Current architecture: single node? master-slave? multi-AZ? multi-region?
  • Database engine + replication mode (sync, semi-sync, async)
  • Load balancer layer (L4 TCP, L7 HTTP) and current health-check semantics
  • Deployment model (bare metal, VM, Kubernetes, serverless)
  • Migration cadence (per-day / per-week) and current downtime per release
  • Read/write ratio, peak TPS, dataset size, max acceptable replication lag
  • Team size and on-call capacity (drives automation vs manual runbook split)
  • Budget ceiling — five nines costs 10–100× more than three nines

Output Artifact

HA architecture spec containing: availability tier + error budget, replica topology, LB config with health-check contract, version rollout strategy, migration plan with data sync, failover runbook, and monitoring/alerting matrix.

Response Format

Tier: {99 | 99.9 | 99.99 | 99.999}
Error budget: {minutes/year, minutes/month}
Topology: {single-AZ | multi-AZ active-passive | multi-AZ active-active | multi-region active-active}
DB: {primary + N replicas, sync mode, RPO, RTO}
LB: {L4/L7, algorithm, health-check, drain time}
Rollout: {blue-green | canary | rolling}, batch size, bake time
Migration: {expand-contract phases, dual-write window, backfill plan}
Failover: {trigger, quorum, promotion, DNS/anycast cutover, rollback}
# Concrete config snippets for LB, replication, deployment

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.

Completion Criteria

  • Availability tier selected with error-budget minutes computed
  • Replica topology defined with sync mode and replica count per AZ/region
  • Load balancer config with health-check path, interval, threshold, drain
  • Version rollout strategy (blue-green / canary / rolling) with bake + rollback time
  • Schema migration plan using expand-contract (N+1 compatible)
  • Data sync plan: dual-write window, backfill job, cutover step, verify step
  • Quorum and split-brain prevention mechanism documented
  • Failover runbook with RPO/RTO targets and rollback path
  • Monitoring: replication lag, LB pool health, error budget burn, deploy success
  • DR drill cadence scheduled (quarterly minimum for ≥99.99%)

Max Response Length

350 lines of code and configuration.

Workflow

Step 1: Pick Availability Tier and Compute Budget

Availability is a cost decision, not a vanity number. Pick the lowest tier that satisfies the SLA + revenue impact.

Tier      Yearly downtime   Monthly downtime   Typical use case
95%       18d 6h            36h 30m            Internal tools, dev/test
99%       3d 15h            7h 18m             Beta SaaS, B2C non-critical
99.9%     8h 45m            43m 12s            Standard SaaS, ecommerce
99.95%    4h 22m            21m 36s            Premium SaaS, B2B
99.99%    52m 35s           4m 19s             Fintech, healthcare, ads
99.999%   5m 15s            25.9s              Telecom, trading, life-safety
99.9999%  31.5s             2.59s              Tier-1 telco core, exchanges

Rule of thumb: each extra nine multiplies cost by ~5–10×. >99.99% requires multi-region active-active, automated failover, anycast/GeoDNS, and full DR drills.

Step 2: Choose Replica Topology

Single AZ + single node              → max 99.0%   (one EC2/PG box, daily snapshot)
Single AZ + primary + 1 sync replica → max 99.5%   (semi-sync, manual promote)
Multi-AZ active-passive              → max 99.95%  (primary + standby in AZ-b, auto promote)
Multi-AZ active-active (read)        → max 99.99%  (writes to primary, reads load-balanced across AZ replicas)
Multi-region active-passive          → max 99.99%  (DR region with async replica, GeoDNS failover)
Multi-region active-active           → 99.999%+    (multi-mast
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/availability-tiers.md
  • references/data-sync-migration.md
  • references/high-availability-advanced.md
  • references/high-availability-fundamentals.md
  • references/load-balancing.md
  • references/replica-topologies.md
  • references/version-sync.md

FAQ

Что делает скилл enterprise-high-availability?

Use when the user asks about 99.99% availability, five nines, database replicas and failover, active-active vs active-passive, load balancer health checks or zero-downtime deploys with expand-contract migrations. Produces availability math and HA topology. Not for business continuity plans (use enterprise-business-continuity) or SLO targets (use enterprise-sla-management).

Как установить скилл enterprise-high-availability?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл enterprise-high-availability запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить enterprise-high-availability с