Redis yüksek kullanılabilirliği replikasyon (verinin replica kopyaları), Redis Sentinel (otomatik failover izleme) ve Redis Cluster (sharding + replikasyon) aracılığıyla sağlar. Bunları anlamak, Redis'i üretimde güvenilir bir şekilde çalıştırmak için önemlidir.
Replikasyon — primary ve replicalar
PRIMARY (master) → handles writes; asynchronously replicates data to replicas
REPLICAS (slaves) → copies of the primary's data; can serve READS (read scaling)
Write → Primary → async replication → Replicas (eventually consistent)
✓ Redundancy (replicas have copies) + read scaling (reads offloaded to replicas)
✗ Replication is ASYNC → a small lag; a failover could lose very recent writes
