🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
Advanced

Cross-Region Cache Invalidation Strategy

#distributed-systems #caching #consistency #system-design #latency

Design a cache invalidation strategy for a distributed system spanning multiple geographic regions to ensure data consistency.

Design a cache invalidation strategy for a global e-commerce platform where product inventory is distributed across multiple database shards and cached in Redis clusters located in US-East, EU-West, and AP-South. The system must handle high write throughput while minimizing the probability of users reading stale inventory data. Describe the trade-offs between write-through, write-back, and write-around patterns in this context, and propose a mechanism (such as versioning or pub/sub) to handle invalidation messages across regions with network latency considerations.