レプリケーションは複数のサーバーにわたってデータのコピーを保持します — 可用性(障害の耐久性)、読み取りスケーリング(コピーから読み取り提供)、地理的分散のため。異なる戦略(プライマリ・レプリカ、マルチプライマリ、同期対非同期)はトレードオフを伴います。
なぜ重要なのか
✓ AVAILABILITY/redundancy → if one copy fails, others have the data (no data loss, failover)
✓ READ SCALING → serve reads from replicas (offload the primary) → handle more reads
✓ GEO-DISTRIBUTION → copies near users (lower latency); disaster recovery
→ replication is fundamental to reliable, scalable data systems.
