Replikimi mirëmban kopje të të dhënave në më shumë se një server — për disponibilitet (mbijetesë ndaj dështimeve), shkallëzim leximi (shërbim i leximit nga kopjet), dhe shpërndarje gjeografike. Strategji të ndryshme (primar-replikë, shumë-primar, sinkron kundrejt asinkron) përfshijnë kompromise.
Pse të replikojmë
✓ 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.
