designing-multi-region-applications

Installation
SKILL.md

Designing Multi-Region Applications

Guides developers through selecting the right multi-region pattern for their CockroachDB application and implementing it with proper validation. Covers the decision model for choosing between regular regional tables, REGIONAL BY ROW, GLOBAL tables, and manual geo-partitioning, plus a hands-on demo framework for comparing approaches.

Complement to other skills: For transaction design patterns, see designing-application-transactions. For SQL syntax and schema design, see cockroachdb-sql.

When to Use This Skill

  • Deciding how to model multi-region read/write behavior in CockroachDB
  • Choosing between active-active and active-passive architectures
  • Evaluating REGIONAL BY ROW vs manual geo-partitioning
  • Understanding GLOBAL table behavior and trade-offs
  • Designing for local reads and writes in multiple regions
  • Building or presenting a multi-region demo or workshop
  • Validating leaseholder placement and zone configurations
  • Optimizing cross-region transaction latency

Do not use this skill when the question is only about SQL syntax, indexing, or generic schema design with no multi-region decision involved.

Related skills

More from cockroachlabs/cockroachdb-skills

Installs
27
GitHub Stars
9
First Seen
Apr 10, 2026