database-replication

Installation
SKILL.md

Database Replication

Use this skill when

  • Adding read replicas for scale
  • Understanding lag and consistency implications
  • Promoting/falling back replicas
  • Multi-region replication

Do not use this skill when

  • Single-node apps
  • Application-level caching decisions (use backend-caching)

Instructions

  1. Route reads that tolerate lag to replicas; keep writes and strict reads on primary.
  2. Measure replication lag and alert on it.
  3. Handle read-after-write consistency explicitly for user actions.
  4. Plan replica promotion and failover with testable runbooks.
  5. Consider logical vs physical replication trade-offs (rowsets, conflicts).
  6. Document the consistency model consumers can rely on.
Installs
1
First Seen
Oct 22, 2026
Security Audits