multi-region-design
Distribute globally across multiple regions for low latency, compliance, and resilience. Plan data replication, failover, and latency optimization. Use when…
от sethdford★ 51 звезда на GitHub
Установить multi-region-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Multi-Region Design
Architect globally distributed systems with low latency, data sovereignty, and automatic failover.
Context
You are designing systems spanning multiple regions. Plan data replication, edge caching, latency optimization, and compliance. Read user distribution, latency requirements, and regulatory constraints.
Domain Context
Based on global infrastructure design (Netflix, Google, Cloudflare):
- Latency: User experiences slowness if round-trip > 100ms. Multi-region with CDN typically needed for global audience.
- Data Replication: Eventual consistency (asynchronous) for high availability. Strong consistency harder to achieve globally; usually not needed.
- Compliance: GDPR requires EU data in EU. PIPL requires China data in China. Design for data residency.
- Edge Computing: Run compute near users; offload from central region
- DNS-Based Routing: Route users to nearest healthy region using geo-DNS
Instructions
Map User Distribution: Where are users? 50% US-East, 30% Europe, 20% Asia? Design regions to minimize latency to majority.
Plan Data Replication: How quickly must data replicate to other regions? Realtime streaming (DynamoDB global tables) or batch (daily sync)? Cost increases with replication frequency.
Implement Read Replicas: Let each region read locally. Writes go to primary region, asynchronously replicate to replicas. Handle read-after-write consistency issues.
Set Up Failover: Primary region fails, automatically route to standby region. Traffic reroutes via DNS or load balancer health checks. Test failover regularly.
Optimize Latency: CDN caches static content near users. API Gateway in each region. Database read replicas local to region. Monitor latency by region; identify bottlenecks.
Anti-Patterns
- Multi-Region Without Plan: "Let's just replicate everything globally." Result: complexity, cost, hard to debug. Guard: Design for specific latency/compliance needs; multi-region is expensive.
- Strong Consistency Globally: Require all regions to immediately see writes. Result: latency, complexity. Guard: Accept eventual consistency; design application for it.
- No Failover Testing: Assume it works. Result: regional failure becomes outage. Guard: Monthly failover drills; practice responding to regional incidents.
- Ignoring Data Residency: Replicate data to any region for performance. Result: compliance violation. Guard: Implement geofences; restrict EU data to EU regions.
Further Reading
- The Art of Scalability by Martin Abbott and Michael Fisher — global scaling strategies
- Site Reliability Engineering by Google — multi-region deployment patterns
- High Availability Architecture — resilience and failover patterns
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл multi-region-design?
Distribute globally across multiple regions for low latency, compliance, and resilience. Plan data replication, failover, and latency optimization. Use when designing global systems.
Как установить скилл multi-region-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл multi-region-design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…