التكرار (Replication) يحافظ على نسخ من البيانات عبر عدة خوادم — من أجل التوفر (Availability) (البقاء عند حدوث الأعطال)، توسع القراءة (Read Scaling) (خدمة طلبات القراءة من النسخ)، والتوزيع الجغرافي (Geographic Distribution). تتضمن الاستراتيجيات المختلفة (primary-replica و multi-primary و sync مقابل async) عدة مقايضات.
سبب التكرار
✓ 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.
