Tutarlılık modelleri, veri güncellemelerinin dağıtılmış bir sistem genelinde ne zaman ve nasıl görünür hale geldiğine ilişkin garantileri tanımlar — güçlü tutarlılık (herkes en son verileri hemen görür) ile nihai tutarlılık (güncellemeler zaman içinde yayılır) arasında değişir. Seçim, kullanılabilirlik ve performans ile takas yapmayı içerir.
Güçlü vs nihai tutarlılık
STRONG CONSISTENCY → every read returns the MOST RECENT write (all nodes agree immediately):
✓ simple to reason about; always correct/current data
✗ requires coordination → higher latency, lower availability (especially during partitions)
→ for: data that must be correct/current (financial balances, inventory, bookings)
EVENTUAL CONSISTENCY → updates propagate over time; reads MAY return stale data briefly,
but all nodes CONVERGE eventually:
✓ high availability, low latency, scalable
✗ reads can be stale temporarily (must tolerate this)
→ for: data where brief staleness is OK (social feeds, likes, view counts, caches)
