தரவுதளங்கள் பெரும்பாலும் அமைப்புகள் வளரும்போது இடையூறாக மாறுகின்றன. அவற்றை அளவிடுவது replication (வாசிப்பு அளவிடலுக்கும் கிடைக்கத்தன்மைக்குமான நகलாக்கங்கள்), sharding (சேவையகங்களுக்கிடையில் தரவைப் பிரித்தல்), caching, மற்றும் பொருத்தமான தரவுதளத் தരங்களைத் தேர்ந்தெடுப்பது போன்ற நுணுக்கங்களை உள்ளடக்கியது.
Replication — தரவின் நகலாக்கங்கள்
REPLICATION → maintain COPIES of the database across servers:
→ PRIMARY (writes) + REPLICAS (copies):
- READ SCALING → direct reads to replicas (offload the primary) → handle more reads
- AVAILABILITY → a replica can take over if the primary fails (failover)
⚠️ replication lag → replicas may be slightly behind (eventual consistency for reads)
→ great for READ-heavy workloads and availability (most apps are read-heavy)
