agentsclimarketplace

Multi region design

Skill Amey-Thakur/AI-SKILLS/skills/cloud/multi-region-design

Choose between active-passive and active-active multi-region architectures with eyes open to data, cost, and failover reality. Use when regional resilience or data residency forces the multi-region question.From its SKILL.md

Install
npx -y skills add Amey-Thakur/AI-SKILLS --skill multi-region-design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 24 days oldThe repository was created 24 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.2 KB, 697 tokens by cl100k_base, as published. Nobody here has run it

Multi-region design

Multi-region is a data problem wearing an infrastructure costume. Decide how writes replicate and reconcile first; everything else (routing, failover, cost) follows from that answer.

Method

  1. Demand the requirement in numbers. Region-down RTO/RPO targets, latency targets per user geography, and residency laws naming specific data classes. "The board wants multi-region" without numbers produces expensive theater; a single region across three zones already survives most real outages.
  2. Climb the ladder only as far as needed. (a) Backups replicated cross-region (RTO hours-days). (b) Active-passive warm standby: async-replicated data, scaled-down stack, promote on failure (RTO minutes-hours, RPO seconds-minutes). (c) Active-active reads: one write region, replica reads everywhere (adds read latency wins). (d) Active-active writes: multi-master or partitioned writes (RTO ~0, and a standing engineering tax). Each rung roughly doubles complexity; stop early.
  3. Solve writes explicitly. Options: single write region (simple; cross-region write latency for far users), partition by home region (each user's writes land locally; needs a partition key and a relocation story), true multi-master (conflict resolution by CRDT, version vector, or last-write-wins data loss; see consistency-models and clock-skew). Never let async replication masquerade as zero-RPO: on failover the tail is gone; measure and accept it or pay for synchronous/quorum writes.
  4. Route with health-checked policies and a kill switch. Latency/geo DNS or anycast for steady state, low TTLs, and a manual override that pins all traffic to one region: automated failover on flapping health checks causes split-brain traffic (see partition-tolerance); most teams run detection-automated, decision-human.
  5. Keep regions independently deployable and boring-identical. Same IaC modules instantiated per region (see infrastructure-as-code), no cross-region synchronous dependencies in the request path, control-plane services (auth, config) either regionalized or statically stable when the home region dies.
  6. Drill the failover quarterly. Game-day a full region evacuation (see chaos-gameday): measure real RTO, find the single-region assumptions (that one cron, the token cache, the primary-only migration job), and re-drill until the runbook timing is believed. An untested standby is a diagram, not a capability.

Boundaries

  • Multi-region multiplies cost 1.7-2.5x and every operational task by the region count; if the honest requirement is surviving zone loss, spend the money on multi-AZ excellence instead.
  • Residency is not resilience: keeping EU data in EU regions is a partitioning requirement that may add regions without adding failover capability.
  • Stateless tiers replicate trivially; if your data layer cannot meet the RPO, no amount of global load balancing fixes the architecture.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,750. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.