🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích
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.