Replication รักษาสำเนาของข้อมูลข้ามหลายเซิร์ฟเวอร์ — เพื่อ availability (รอดพ้นจากความล้มเหลว), read scaling (ให้บริการการอ่านจากสำเนา) และ การกระจายทางภูมิศาสตร์ กลยุทธ์ที่ต่างกัน (primary-replica, multi-primary, sync กับ async) มีข้อแลกเปลี่ยน
ทำไมต้อง replicate
✓ 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.
